2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-11-10 23:20:58 +00:00

add static-libgcc to libraries too

git-svn-id: svn+q:///qpdf/trunk@784 71b93d88-0707-0410-a8cf-f5a4172ac649
This commit is contained in:
Jay Berkenbilt 2009-10-11 03:11:48 +00:00
parent c09b9cc427
commit 62e1e92f4a

View File

@ -48,7 +48,8 @@ endef
# Usage: $(call makelib,objs,library,ldflags,libs,current,revision,age) # Usage: $(call makelib,objs,library,ldflags,libs,current,revision,age)
define makelib define makelib
dlltool -l $(2) -D $$(basename `echo $(2) | sed -e 's,/lib\(.*\).a,/\1,'`$(5).dll) $(1); \ dlltool -l $(2) -D $$(basename `echo $(2) | sed -e 's,/lib\(.*\).a,/\1,'`$(5).dll) $(1); \
$(CXX) -shared -o `echo $(2) | sed -e 's,/lib\(.*\).a,/\1,'`$(5).dll \ $(CXX) -shared -static-libgcc \
-o `echo $(2) | sed -e 's,/lib\(.*\).a,/\1,'`$(5).dll \
$(1) $(3) $(4) $(1) $(3) $(4)
endef endef