mirror of
https://github.com/qpdf/qpdf.git
synced 2024-12-22 10:58: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:
parent
c09b9cc427
commit
62e1e92f4a
@ -48,7 +48,8 @@ endef
|
||||
# Usage: $(call makelib,objs,library,ldflags,libs,current,revision,age)
|
||||
define makelib
|
||||
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)
|
||||
endef
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user