2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-12-22 10:58:58 +00:00

make it work

git-svn-id: svn+q:///qpdf/trunk@756 71b93d88-0707-0410-a8cf-f5a4172ac649
This commit is contained in:
Jay Berkenbilt 2009-10-10 14:56:18 +00:00
parent a6915c5da2
commit 9e1a25fc55

View File

@ -40,7 +40,9 @@ libcompile = $(compile)
define makelib
ar cru $(2) $(1);
ranlib $(2);
dlltool -l $(2) -D `echo $(2) | sed -e 's,lib\(.*\).a,\1'`$(3).dll \
echo `echo $(2) | sed -e 's,/lib\(.*\).a,/\1,'`$(3).dll
dlltool -l $(2) -D $$(basename `echo $(2) | sed -e 's,/lib\(.*\).a,/\1,'`$(3).dll) $(1); \
$(CXX) -shared -o `echo $(2) | sed -e 's,/lib\(.*\).a,/\1,'`$(3).dll \
$(1) $(LDFLAGS) $(LIBS)
endef