22 lines
1.1 KiB
Plaintext
22 lines
1.1 KiB
Plaintext
$OpenBSD: patch-admin_libtool_m4_in,v 1.2 2003/07/30 12:59:23 espie Exp $
|
|
--- admin/libtool.m4.in.orig 2002-10-24 03:23:14.000000000 +0200
|
|
+++ admin/libtool.m4.in 2003-07-27 12:49:01.000000000 +0200
|
|
@@ -4856,7 +4856,7 @@ EOF
|
|
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
|
|
|
|
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
|
|
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
|
|
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
|
|
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
|
|
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
|
|
else
|
|
@@ -4866,7 +4866,7 @@ EOF
|
|
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
|
|
;;
|
|
*)
|
|
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
|
|
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
|
|
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
|
|
;;
|
|
esac
|