24803705 php records internal compiler runpath info
authorNorm Jacobs <Norm.Jacobs@Oracle.COM>
Wed, 05 Oct 2016 13:26:22 -0500
changeset 7057 8a0bda69e5a0
parent 7056 782ed5da6345
child 7058 a62a393ea750
24803705 php records internal compiler runpath info
components/php/php56/Makefile
--- a/components/php/php56/Makefile	Wed Oct 05 12:54:17 2016 -0700
+++ b/components/php/php56/Makefile	Wed Oct 05 13:26:22 2016 -0500
@@ -50,6 +50,11 @@
 CONFIGURE_OPTIONS += --enable-dtrace
 COMPONENT_BUILD_ENV += PATH="$(PATH):$(USRSBINDIR)"
 
+# Without this, the the build seems to interrogate GCC for potential library
+# search path information and then embed it into the RUNPATH of selected ELF
+# files it creates.  This includes GCC private directories
+CONFIGURE_OPTIONS += --disable-rpath
+
 ETCPHPDIR= $(ETCDIR)/php/$(UL_PHP_MINOR_VERSION)
 VARPHPDIR= $(VARDIR)/php/$(UL_PHP_MINOR_VERSION)
 # .conf files go under /etc, not /usr