Commit d9939b9ad64cbe7db48e2005f76d1c37aef80d4c

Authored by Jay Berkenbilt
1 parent 3d997eb5

more tweaking of external libs

git-svn-id: svn+q:///qpdf/trunk@875 71b93d88-0707-0410-a8cf-f5a4172ac649
Showing 2 changed files with 7 additions and 30 deletions
... ... @@ -8,34 +8,11 @@
8 8 * Write documentation section on source-level API changes between 2.0
9 9 and 2.1.
10 10  
11   - * Really need to get rid of embedded external libs. We can either
12   - provide them separately for Windows or provide instructions for
13   - building them. Remember to remove -DHAVE_VSNPRINTF from
14   - config-msvc and to remove --enable-build-external-libs from both.
15   -
16   - mingw:
17   -
18   - for pcre
19   -
20   - ./configure --disable-shared --disable-cpp --prefix=...
21   - make
22   - make install
23   -
24   - for zlib
25   -
26   - ./conifgure --prefix=...
27   - make
28   - make install
29   -
30   - for qpdf
31   -
32   - CFLAGS="-IC:/path/to/pcre... -IC:/path/to/zlib..." \
33   - LDFLAGS="-LC:/path/to/pcre... -LC:/path/to/zlib..." \
34   - ./configure --disable-test-compare-images --with-buildrules=mingw
35   -
36   - msvc:
37   -
38   -
  11 + * Document building external libs. From ../external-libs, in an msys
  12 + environment that supports both mingw and msvc, run ./build.sh. The
  13 + resulting zip file should be extracted into qpdf, and
  14 + --enable-external-libs should be passed to configure. Updated
  15 + README on this. Check everything.
39 16  
40 17 * Windows release: config for both compilers, make install. Create
41 18 zip files. Probably should put the compiler name somewhere in the
... ...
configure.ac
... ... @@ -321,8 +321,8 @@ if test "$USE_EXTERNAL_LIBS" = "1"; then
321 321 if test "$BUILDRULES" = "libtool"; then
322 322 AC_MSG_ERROR([BUILDRULES=libtool is not supported when building external libraries])
323 323 fi
324   - CPPFLAGS="$CPPFLAGS -Iext/include"
325   - LDFLAGS="$LDFLAGS -Lext/lib-$BUILDRULES"
  324 + CPPFLAGS="$CPPFLAGS -Iexternal-libs/include"
  325 + LDFLAGS="$LDFLAGS -Lexternal-libs/lib-$BUILDRULES"
326 326 LIBS="$LIBS -lz -lpcre"
327 327 fi
328 328  
... ...