mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Allow *.a and *.o as libtool objects, and hardcode runpaths into
shared libraries. (Both taken from FreeBSD's libtool port.)
This commit is contained in:
parent
e3d0c91dbb
commit
b2edf87b39
4 changed files with 149 additions and 14 deletions
21
patch-aa
Normal file
21
patch-aa
Normal file
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue