Last change
on this file since 32251 was 32251, checked in by ak19, 6 years ago |
- Getting LIBJPEG to compile on Mac requires not passing --enable-static. On Mac too, compiling LIBJPEG also only produces .a (and no .so/.dylib) no matter what, but that happens to be what we want anyway. 2. Turning off building shared libraries (--disable-shared) for all libraries we build that are used by xpdftools, so that on Mac it hopefully chooses to link these in (which won't happen if there's a preferred dylib elsewhere, particularly on the system, which will then get linked in in preference on Macs). Still need to test these changes on Linux again.
|
-
Property svn:executable
set to
*
|
File size:
841 bytes
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 |
|
---|
3 | package=libpng
|
---|
4 | #version=-1.5.0
|
---|
5 | version=-1.5.30
|
---|
6 |
|
---|
7 | progname=$0
|
---|
8 |
|
---|
9 | source ../cascade-make/lib/cascade-lib.bash GEXT_XPDFTOOLS ../.. $*
|
---|
10 |
|
---|
11 | prefix=$GEXTXPDFTOOLS_INSTALLED
|
---|
12 |
|
---|
13 | export CFLAGS="$CFLAGS -I$GEXTXPDFTOOLS_INSTALLED/include"
|
---|
14 | export CPPFLAGS="$CPPFLAGS -I$GEXTXPDFTOOLS_INSTALLED/include"
|
---|
15 | export CXXFLAGS="$CXXFLAGS -I$GEXTXPDFTOOLS_INSTALLED/include"
|
---|
16 | export LDFLAGS="$LDFLAGS -L$GEXTXPDFTOOLS_INSTALLED/lib"
|
---|
17 |
|
---|
18 | echo GSDLOS = $GSDLOS
|
---|
19 |
|
---|
20 | opt_run_untar $force_untar $auto_untar $package $version
|
---|
21 |
|
---|
22 | opt_run_configure $force_config $auto_config $package $version $prefix --enable-static --disable-shared
|
---|
23 |
|
---|
24 | opt_run_make $compile $package $version
|
---|
25 | opt_run_make $install $package $version "install"
|
---|
26 | opt_run_make $clean $package $version "clean"
|
---|
27 | opt_run_make $distclean $package $version "distclean"
|
---|
28 |
|
---|
29 | opt_run_tarclean $tarclean $package $version
|
---|
Note:
See
TracBrowser
for help on using the repository browser.