Remove use of -rpath from libtool.

Fixes libao module loading in ogg123 on ELF; doesn't affect a.out.
This commit is contained in:
naddy 2002-04-02 16:52:59 +00:00
parent 809160bbbe
commit 5fdf476d93

View File

@ -1,7 +1,23 @@
$OpenBSD: patch-configure,v 1.1 2002/01/16 03:10:21 naddy Exp $
--- configure.orig Wed Jan 2 00:14:51 2002
+++ configure Wed Jan 2 00:15:46 2002
@@ -5342,7 +5342,7 @@ if test -z "$GCC"; then
$OpenBSD: patch-configure,v 1.2 2002/04/02 16:52:59 naddy Exp $
--- configure.orig Tue Jan 1 02:57:06 2002
+++ configure Tue Apr 2 17:51:29 2002
@@ -3487,7 +3487,6 @@ else
hardcode_shlibpath_var=no
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
- hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
export_dynamic_flag_spec='${wl}-E'
else
case "$host_os" in
@@ -3497,7 +3496,6 @@ else
;;
*)
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
- hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
;;
esac
fi
@@ -5342,7 +5340,7 @@ if test -z "$GCC"; then
;;
*)
DEBUG="-g"
@ -10,7 +26,7 @@ $OpenBSD: patch-configure,v 1.1 2002/01/16 03:10:21 naddy Exp $
PROFILE="-g -p"
;;
esac
@@ -5365,8 +5365,8 @@ else
@@ -5365,8 +5363,8 @@ else
;;
*)
DEBUG="-g -Wall -fsigned-char"