mirror of
https://github.com/qpdf/qpdf.git
synced 2025-02-07 06:08:26 +00:00
Windows build (msvc): target Windows 5.0.1 (XP)
Without this, qpdf executables work only on Vista or newer. Fixes #35
This commit is contained in:
parent
076164e988
commit
3c5e602a1e
@ -1,5 +1,7 @@
|
||||
2014-06-07 Jay Berkenbilt <ejb@ql.org>
|
||||
|
||||
* MS Visual C++ build: explicitly target Windows 5.0.1 (XP)
|
||||
|
||||
* New example program: pdf-split-pages: efficiently split PDF
|
||||
files into individual pages.
|
||||
|
||||
|
@ -66,7 +66,7 @@ endef
|
||||
# Usage: $(call makelib,objs,library,ldflags,libs,current,revision,age)
|
||||
define makelib
|
||||
cl /nologo /O2 /Zi /Gy /EHsc /MD /LD /Fe$(basename $(2))$(shell expr $(5) - $(7)).dll $(1) \
|
||||
/link /incremental:no \
|
||||
/link /SUBSYSTEM:CONSOLE,5.01 /incremental:no \
|
||||
$(foreach L,$(subst -L,,$(3)),/LIBPATH:$(L)) \
|
||||
$(foreach L,$(subst -l,,$(4)),$(L).lib)
|
||||
if [ -f $(basename $(2))$(shell expr $(5) - $(7)).dll.manifest ]; then \
|
||||
@ -80,7 +80,7 @@ endef
|
||||
# Usage: $(call makebin,objs,binary,ldflags,libs)
|
||||
define makebin
|
||||
cl /nologo /O2 /Zi /Gy /EHsc /MD $(1) \
|
||||
/link /incremental:no /OUT:$(2) \
|
||||
/link /SUBSYSTEM:CONSOLE,5.01 /incremental:no /OUT:$(2) \
|
||||
$(foreach L,$(subst -L,,$(3)),/LIBPATH:$(L)) \
|
||||
$(foreach L,$(subst -l,,$(4)),$(L).lib)
|
||||
if [ -f $(2).manifest ]; then \
|
||||
|
Loading…
x
Reference in New Issue
Block a user