Browse Source

try to fix building/linking under Linux

master
parent
commit
c71226cf81
  1. 8
      pdflib/pdflib.spec

8
pdflib/pdflib.spec

@ -38,7 +38,7 @@ Class: BASE
Group: Graphics
License: PDFlib
Version: %{V_long}
Release: 20041222
Release: 20050216
# list of sources
Source0: http://www.pdflib.com/products/pdflib/download/%{V_comp}src/PDFlib-Lite-%{V_long}.tar.gz
@ -76,11 +76,11 @@ AutoReqProv: no
CFLAGS="%{l_cflags -O}" \
INSTALL="%{l_shtool} install -c" \
PNGLIBINC="%{l_cppflags libpng .}" \
PNGLIBLINK="-lpng" \
PNGLIBLINK="%{l_ldflags} -lpng" \
JPEGLIBINC="%{l_cppflags}" \
JPEGLIBLINK="-ljpeg" \
JPEGLIBLINK="%{l_ldflags} -ljpeg" \
FLATELIBINC="%{l_cppflags}" \
FLATELIBLINK="-lz" \
FLATELIBLINK="%{l_ldflags} -lz" \
./configure \
--prefix=%{l_prefix} \
--disable-shared

Loading…
Cancel
Save