source: gs2-extensions/xpdf-tools/trunk/src/packages/CASCADE-MAKE/FREETYPE.sh@ 32256

Last change on this file since 32256 was 32251, checked in by ak19, 6 years ago
  1. 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: 603 bytes
Line 
1#!/bin/bash
2
3package=freetype
4version=-2.3.9
5
6progname=$0
7
8(cd .. ; \
9 source setup.bash silent; )
10
11source $GEXT_XPDFTOOLS/cascade-make/lib/cascade-lib.bash
12
13prefix=$GEXTXPDFTOOLS_INSTALLED
14
15opt_run_untar $force_untar $auto_untar $package $version
16opt_run_configure $force_config $auto_config $package $version "$prefix" --enable-static --disable-shared
17
18opt_run_make $compile $package $version
19opt_run_make $install $package $version "install"
20opt_run_make $clean $package $version "clean"
21opt_run_make $distclean $package $version "distclean"
22
23opt_run_tarclean $tarclean $package $version
24
25
26
Note: See TracBrowser for help on using the repository browser.