diff options
| author | Sascha Schumann <sas@php.net> | 1999-10-06 18:58:14 +0000 |
|---|---|---|
| committer | Sascha Schumann <sas@php.net> | 1999-10-06 18:58:14 +0000 |
| commit | b2edf87b39ffb83dff52edb7f7cd24a9402ae63a (patch) | |
| tree | 7ef42455542f37bd9757cd22441550f5070c477b /patch-aa | |
| parent | e3d0c91dbbbaedce2cff7a43ab4e9bc3accfc669 (diff) | |
| download | php-git-b2edf87b39ffb83dff52edb7f7cd24a9402ae63a.tar.gz | |
Allow *.a and *.o as libtool objects, and hardcode runpaths into
shared libraries.
(Both taken from FreeBSD's libtool port.)
Diffstat (limited to 'patch-aa')
| -rw-r--r-- | patch-aa | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/patch-aa b/patch-aa new file mode 100644 index 0000000000..348bfb1a65 --- /dev/null +++ b/patch-aa @@ -0,0 +1,21 @@ +*** /usr/local/share/libtool/ltconfig Wed Jul 14 14:46:28 1999 +--- ltconfig Wed Oct 6 20:32:14 1999 +*************** +*** 1226,1233 **** + + *) + if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then +! archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib' +! archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + ld_shlibs=no + fi +--- 1226,1233 ---- + + *) + if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then +! archive_cmds='$CC -shared $compile_rpath $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib' +! archive_expsym_cmds='$CC -shared $compile_rpath $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + ld_shlibs=no + fi |
