58 lines
2.5 KiB
Diff
58 lines
2.5 KiB
Diff
|
--- pegasus/mak/library-unix.mak.no-rpath 2006-01-30 11:16:23.000000000 -0500
|
||
|
+++ pegasus/mak/library-unix.mak 2006-04-05 19:31:23.000000000 -0400
|
||
|
@@ -81,14 +81,14 @@
|
||
|
ifneq ($(PEGASUS_PLATFORM),DARWIN_PPC_GNU)
|
||
|
ifdef PEGASUS_USE_RELEASE_DIRS
|
||
|
LINK_COMMAND = $(CXX) -shared $(LINK_MACHINE_OPTIONS)
|
||
|
- LINK_ARGUMENTS = -Wl,-hlib$(LIBRARY)$(LIB_SUFFIX) -Xlinker -rpath -Xlinker $(PEGASUS_DEST_LIB_DIR)
|
||
|
+ LINK_ARGUMENTS = -Wl,-hlib$(LIBRARY)$(LIB_SUFFIX) $(EXTRA_LINK_ARGUMENTS)
|
||
|
else
|
||
|
LINK_COMMAND = $(CXX) -shared $(LINK_MACHINE_OPTIONS)
|
||
|
- LINK_ARGUMENTS = -Wl,-hlib$(LIBRARY)$(LIB_SUFFIX) -Xlinker -rpath -Xlinker $(LIB_DIR) $(EXTRA_LINK_ARGUMENTS)
|
||
|
+ LINK_ARGUMENTS = -Wl,-hlib$(LIBRARY)$(LIB_SUFFIX) $(EXTRA_LINK_ARGUMENTS)
|
||
|
endif
|
||
|
else
|
||
|
LINK_COMMAND = $(CXX) -dynamiclib
|
||
|
- LINK_ARGUMENTS = --helplib$(LIBRARY)$(LIB_SUFFIX) -ldl
|
||
|
+ LINK_ARGUMENTS = --helplib$(LIBRARY)$(LIB_SUFFIX) -ldl $(EXTRA_LINK_ARGUMENTS)
|
||
|
endif
|
||
|
ifeq ($(PEGASUS_PLATFORM), SOLARIS_SPARC_GNU)
|
||
|
LINK_ARGUMENTS = -Wl,-hlib$(LIBRARY)$(LIB_SUFFIX) -Xlinker -L$(LIB_DIR) $(EXTRA_LINK_ARGUMENTS)
|
||
|
--- pegasus/mak/program-unix.mak.no-rpath 2006-01-30 11:16:23.000000000 -0500
|
||
|
+++ pegasus/mak/program-unix.mak 2006-04-05 19:41:59.000000000 -0400
|
||
|
@@ -30,22 +30,12 @@
|
||
|
#//==============================================================================
|
||
|
INCLUDES = -I$(ROOT)/src $(EXTRA_INCLUDES)
|
||
|
|
||
|
-ifndef LINK_RPATH
|
||
|
- LINK_RPATH = -Xlinker -rpath
|
||
|
-endif
|
||
|
-
|
||
|
LINK_DEST_LIB = -Xlinker $(PEGASUS_DEST_LIB_DIR)
|
||
|
|
||
|
LINK_LIB_DIR = -Xlinker $(LIB_DIR)
|
||
|
|
||
|
LINK_ICU = -Xlinker ${ICU_INSTALL}/lib
|
||
|
|
||
|
-ifndef LINK_RPATH_LINK
|
||
|
- LINK_RPATH_LINK = -Xlinker -rpath-link
|
||
|
-endif
|
||
|
-
|
||
|
-
|
||
|
-
|
||
|
TMP_OBJECTS = $(foreach i,$(SOURCES),$(OBJ_DIR)/$i)
|
||
|
|
||
|
ifeq ($(OS_TYPE),windows)
|
||
|
@@ -118,9 +108,9 @@
|
||
|
endif
|
||
|
else
|
||
|
ifdef PEGASUS_USE_RELEASE_DIRS
|
||
|
- $(LINK_WRAPPER) $(CXX) $(FLAGS) $(EXTRA_LINK_FLAGS) $(LINK_RPATH) $(LINK_DEST_LIB) $(LINK_RPATH_LINK) $(LINK_LIB_DIR) -L$(LIB_DIR) $(EXE_OUTPUT) $(OBJECTS) $(DYNAMIC_LIBRARIES) $(SYS_LIBS)
|
||
|
+ $(LINK_WRAPPER) $(CXX) $(FLAGS) $(EXTRA_LINK_FLAGS) -L$(LIB_DIR) $(EXE_OUTPUT) $(OBJECTS) $(DYNAMIC_LIBRARIES) $(SYS_LIBS)
|
||
|
else
|
||
|
- $(LINK_WRAPPER) $(CXX) $(FLAGS) $(EXTRA_LINK_FLAGS) $(LINK_RPATH) $(LINK_LIB_DIR) -L$(LIB_DIR) $(EXE_OUTPUT) $(OBJECTS) $(DYNAMIC_LIBRARIES) $(SYS_LIBS)
|
||
|
+ $(LINK_WRAPPER) $(CXX) $(FLAGS) $(EXTRA_LINK_FLAGS) -L$(LIB_DIR) $(EXE_OUTPUT) $(OBJECTS) $(DYNAMIC_LIBRARIES) $(SYS_LIBS)
|
||
|
endif
|
||
|
endif
|
||
|
else
|