first libtool port to be converted over to using "cc -shared" for shared libraries on 2.8 and up. needed as a prereq for gmake to get emacs for Theo on powerpc ;)
This commit is contained in:
parent
38c9687b6b
commit
30f7bb858d
32
devel/gettext/patches/patch-ltconfig
Normal file
32
devel/gettext/patches/patch-ltconfig
Normal file
@ -0,0 +1,32 @@
|
||||
--- ltconfig.orig Mon Apr 27 17:22:35 1998
|
||||
+++ ltconfig Wed Oct 18 20:20:57 2000
|
||||
@@ -702,7 +702,7 @@
|
||||
runpath_var=
|
||||
|
||||
case "$host_os" in
|
||||
-amigaos* | sunos4*)
|
||||
+amigaos* | sunos4* | openbsd*)
|
||||
# On these operating systems, we should treat GNU ld like the system ld.
|
||||
gnu_ld_acts_native=yes
|
||||
;;
|
||||
@@ -815,10 +815,18 @@
|
||||
;;
|
||||
|
||||
openbsd*)
|
||||
- archive_cmds='$LD -Bshareable -o $lib$libobjs'
|
||||
- hardcode_libdir_flag_spec='-R$libdir'
|
||||
hardcode_direct=yes
|
||||
hardcode_shlibpath_var=no
|
||||
+ case "$host_os" in
|
||||
+ openbsd2.[01234567])
|
||||
+ archive_cmds='$LD -Bshareable -o $lib$libobjs'
|
||||
+ hardcode_libdir_flag_spec='-R$libdir'
|
||||
+ ;;
|
||||
+ *)
|
||||
+ archive_cmds='$CC -shared $pic_flag -o $lib$libobjs'
|
||||
+ hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
|
||||
+ ;;
|
||||
+ esac
|
||||
;;
|
||||
|
||||
os2*)
|
Loading…
Reference in New Issue
Block a user