phc.patch 892 B

12345678910111213141516171819202122232425
  1. Index: Makefile.in
  2. --- Makefile.in.orig 2009-01-14 16:17:21 +0100
  3. +++ Makefile.in 2009-02-15 20:29:24 +0100
  4. @@ -568,7 +568,7 @@
  5. # 5 or 6 files which require special rules.
  6. # -export-dynammic: Special libtool flag for later plugin loading
  7. -src_phc_LDFLAGS = -export-dynamic
  8. +src_phc_LDFLAGS = -static -export-dynamic
  9. src_phc_LDADD = @gc_lib@ $(LIBLTDL) libphc.la
  10. bin_SCRIPTS = src/phc_compile_plugin
  11. libexec_SCRIPTS = libtool
  12. Index: src/phc_compile_plugin.in
  13. --- src/phc_compile_plugin.in.orig 2009-01-14 15:33:38 +0100
  14. +++ src/phc_compile_plugin.in 2009-02-15 20:29:24 +0100
  15. @@ -33,7 +33,7 @@
  16. fi
  17. # Find the appropriate libtool to use
  18. -_ORIGINAL_LIBTOOL="@libexecdir@/libtool";
  19. +_ORIGINAL_LIBTOOL="@libexecdir@/phc/libtool";
  20. _LIBTOOL=$_ORIGINAL_LIBTOOL
  21. # If its not installed there might be a libtool in the current directory
  22. if [ ! -x $_LIBTOOL ]; then _LIBTOOL="./libtool"; fi