7149188 build machine runpath in libstdcxx
authorStefan Teleman <stefan.teleman@oracle.com>
Tue, 28 Feb 2012 10:19:53 -0800
changeset 709 77c561c5ca8e
parent 708 2cb7fdf18c3d
child 710 4f64aa9aa05b
7149188 build machine runpath in libstdcxx
components/stdcxx/Solaris/install.sh
--- a/components/stdcxx/Solaris/install.sh	Mon Feb 27 12:39:13 2012 -0800
+++ b/components/stdcxx/Solaris/install.sh	Tue Feb 28 10:19:53 2012 -0800
@@ -19,7 +19,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2009, 2011, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2009, 2012, Oracle and/or its affiliates. All rights reserved.
 #
 
 export PREFIX=""
@@ -112,8 +112,8 @@
 cd ${BUILDDIR}/build/lib
 ${CP} -fp libstdcxx4.so.4.2.1 ${LIBDIR}/
 cd ${LIBDIR}
-elfedit -e 'dyn:delete RUNPATH' libstdcxx4.so.4.2.1
-elfedit -e 'dyn:delete RPATH' libstdcxx4.so.4.2.1
+/usr/bin/elfedit -e 'dyn:delete RUNPATH' libstdcxx4.so.4.2.1
+/usr/bin/elfedit -e 'dyn:delete RPATH' libstdcxx4.so.4.2.1
 chmod 0755 libstdcxx4.so.4.2.1
 
 if [ -L libstdcxx4.so.4 ] ; then