Don't need to add SHRLIB_SEARCH_DIRS to SHRLIB_LDFLAGS
This commit is contained in:
1 parent
05d4a234aa
commit
f5170b7999
2 files changed
+2
-4
No files matched your search
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user