Changeset 32251
- Timestamp:
- 2018-07-10T18:32:20+12:00 (6 years ago)
- Location:
- gs2-extensions/xpdf-tools/trunk/src/packages
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
gs2-extensions/xpdf-tools/trunk/src/packages/CASCADE-MAKE/FREETYPE.sh
r32228 r32251 14 14 15 15 opt_run_untar $force_untar $auto_untar $package $version 16 opt_run_configure $force_config $auto_config $package $version "$prefix" 16 opt_run_configure $force_config $auto_config $package $version "$prefix" --enable-static --disable-shared 17 17 18 18 opt_run_make $compile $package $version -
gs2-extensions/xpdf-tools/trunk/src/packages/CASCADE-MAKE/LIBJPEG.sh
r32249 r32251 42 42 # http://www.linuxfromscratch.org/blfs/view/6.3/general/libjpeg.html 43 43 # only the libjpeg.a is produced with this command 44 opt_run_configure $force_config $auto_config $package $version "$prefix" \ 45 --enable-static --enable-shared 44 opt_run_configure $force_config $auto_config $package $version "$prefix" 45 #opt_run_configure $force_config $auto_config $package $version "$prefix" \ 46 # --enable-static --enable-shared 47 # --host=x86_64-linux-gnu --build=x86_64-linux-gnu --target=x86_64-linux-gnu --enable-static --enable-shared 46 48 # The following didn't fix the configuration and subsequent libtool error described above 47 49 # and with or without it, there's still reference to host=x86_64-unknown(-unknown)-linux-gnu in configure output: -
gs2-extensions/xpdf-tools/trunk/src/packages/CASCADE-MAKE/LIBPNG.sh
r32245 r32251 20 20 opt_run_untar $force_untar $auto_untar $package $version 21 21 22 opt_run_configure $force_config $auto_config $package $version $prefix 22 opt_run_configure $force_config $auto_config $package $version $prefix --enable-static --disable-shared 23 23 24 24 opt_run_make $compile $package $version -
gs2-extensions/xpdf-tools/trunk/src/packages/CASCADE-MAKE/LIBTIFF.sh
r32249 r32251 14 14 15 15 opt_run_untar $force_untar $auto_untar $package $version 16 opt_run_configure $force_config $auto_config $package $version "$prefix" 16 opt_run_configure $force_config $auto_config $package $version "$prefix" --enable-static --disable-shared 17 17 18 18 opt_run_make $compile $package $version -
gs2-extensions/xpdf-tools/trunk/src/packages/CASCADE-MAKE/LIBZ.sh
r32228 r32251 30 30 fi 31 31 32 # We don't want the generated .so/.dylibs on linux and mac, just the .a static libs 33 # According to https://github.com/luvit/zlib/blob/master/configure 34 # "Normally configure builds both a static and a shared library. 35 # If you want to build just a static library, use: ./configure --static" 32 36 if [ $force_config = "1" ] ; then 33 37 echo "[pushd $package$version]" 34 38 ( cd $package$version ; \ 35 echo $CROSSCONFIGURE_VARS ./configure -- prefix="$prefix" $CROSSCONFIGURE_ARGS $@ ; \36 eval $CROSSCONFIGURE_VARS ./configure -- prefix="$prefix" $CROSSCONFIGURE_ARGS $@ )39 echo $CROSSCONFIGURE_VARS ./configure --static --prefix="$prefix" $CROSSCONFIGURE_ARGS $@ ; \ 40 eval $CROSSCONFIGURE_VARS ./configure --static --prefix="$prefix" $CROSSCONFIGURE_ARGS $@ ) 37 41 if [ $? != 0 ] ; then 38 42 echo " Error encountered running *configure* stage of $progname" -
gs2-extensions/xpdf-tools/trunk/src/packages/GS-README.txt
r32250 r32251 455 455 456 456 https://unix.stackexchange.com/questions/279397/ldd-dont-find-path-how-to-add 457 458 459 D. On why you can't build static binaries on Mac, but can build static libraries and link against them 460 461 https://developer.apple.com/library/archive/qa/qa1118/_index.html (official page on how Mac doesn't support static binaries) 462 https://stackoverflow.com/questions/3801011/ld-library-not-found-for-lcrt0-o-on-osx-10-6-with-gcc-clang-static-flag 463 https://stackoverflow.com/questions/844819/how-to-static-link-on-os-x (mention of -Bstatic) 464 https://www.allegro.cc/forums/thread/610923 465 https://dropline.net/2015/10/static-linking-on-mac-os-x/ (explains that on Mac, .dylibs must be hidden for .a versions of libraries to be selected when linking) 466 This means that where possible we want to essentially do "--enable-static --disable-shared", or equivalent, when generating freetype, libz, libpng, libjpg, libtiff library files 467 so that Xpdf-Tools links against the .a files we generated rather than additional .dylib files 468 469 http://www.simplesystems.org/libtiff/build.html 470 configuration options for building libtiff. Want to turn off the compile process for libtiff producing tiff binaries, but there appears to be no such option. 457 471 458 472
Note:
See TracChangeset
for help on using the changeset viewer.