2000-10-21 13:34:39 -04:00
|
|
|
--- ltconfig.orig Mon Apr 27 17:22:35 1998
|
2000-11-17 19:09:17 -05:00
|
|
|
+++ ltconfig Fri Oct 20 09:35:35 2000
|
2000-10-21 13:34:39 -04:00
|
|
|
@@ -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'
|
2000-11-17 19:09:17 -05:00
|
|
|
+ hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
|
2000-10-21 13:34:39 -04:00
|
|
|
+ ;;
|
|
|
|
+ esac
|
|
|
|
;;
|
|
|
|
|
|
|
|
os2*)
|