From f5170b79993fb4971b4889574efd3f00cb581185 Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Fri, 7 Feb 2003 19:50:58 +0000 Subject: [PATCH] Don't need to add SHRLIB_SEARCH_DIRS to SHRLIB_LDFLAGS --- configure/os/CONFIG.Common.linux-x86 | 3 +-- configure/os/CONFIG.Common.solaris-sparc | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/configure/os/CONFIG.Common.linux-x86 b/configure/os/CONFIG.Common.linux-x86 index 1cc8aa0bc..6274825b1 100644 --- a/configure/os/CONFIG.Common.linux-x86 +++ b/configure/os/CONFIG.Common.linux-x86 @@ -30,8 +30,7 @@ ARCH_DEP_CPPFLAGS += -D_X86_ ARCH_DEP_CFLAGS += -mcpu=pentium # Set runtime path for shared libraries -SHRLIB_LDFLAGS += $(sort $(SHRLIB_SEARCH_DIRS:%=-Wl,-rpath,%)) -DIR_LDFLAGS_YES += $(sort $(SHRLIB_SEARCH_DIRS:%=-Wl,-rpath,%)) +DIR_LDFLAGS_YES = $(sort $(SHRLIB_SEARCH_DIRS:%=-Wl,-rpath,%)) DIR_LDFLAGS += $(DIR_LDFLAGS_$(SHARED_LIBRARIES)) ifdef CROSS diff --git a/configure/os/CONFIG.Common.solaris-sparc b/configure/os/CONFIG.Common.solaris-sparc index 423b77baa..23be56842 100644 --- a/configure/os/CONFIG.Common.solaris-sparc +++ b/configure/os/CONFIG.Common.solaris-sparc @@ -33,8 +33,7 @@ OP_SYS_CPPFLAGS += -DSOLARIS=$(SOLARIS_VERSION) OP_SYS_LDLIBS += -lsocket -lnsl # Set runtime path for shared libraries -SHRLIB_LDFLAGS += $(sort $(SHRLIB_SEARCH_DIRS:%=-R%)) -DIR_LDFLAGS_YES += $(sort $(SHRLIB_SEARCH_DIRS:%=-R%)) +DIR_LDFLAGS_YES = $(sort $(SHRLIB_SEARCH_DIRS:%=-R%)) DIR_LDFLAGS += $(DIR_LDFLAGS_$(SHARED_LIBRARIES)) ifdef CROSS