Skip to content

Commit

Permalink
Improved rpath handling (#2996)
Browse files Browse the repository at this point in the history
  • Loading branch information
extrafu committed Dec 16, 2014
1 parent 7380b25 commit 68655de
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ActiveSync/common.make
Expand Up @@ -20,7 +20,7 @@ ADDITIONAL_LIB_DIRS += \
-L../SoObjects/SOGo/$(GNUSTEP_OBJ_DIR)/ \
-L../SOPE/NGCards/$(GNUSTEP_OBJ_DIR)/ \
-L/usr/local/lib \
-Wl,-rpath,$(GNUSTEP_SYSTEM_LIBRARIES)/sogo
-Wl,-rpath,$(SOGO_SYSLIBDIR)/sogo

BUNDLE_LIBS += \
-lSOGo \
Expand Down
2 changes: 1 addition & 1 deletion Main/GNUmakefile
Expand Up @@ -6,7 +6,7 @@ include ../Version

ADDITIONAL_OBJCFLAGS += -fPIE
ADDITIONAL_INCLUDE_DIRS +=
ADDITIONAL_LDFLAGS += -Wl,--no-as-needed -fPIE -pie -Wl,--rpath,$(GNUSTEP_SYSTEM_LIBRARIES)/sogo
ADDITIONAL_LDFLAGS += -Wl,--no-as-needed -fPIE -pie -Wl,--rpath,$(SOGO_SYSLIBDIR)/sogo

SOGOD = sogod
TOOL_NAME = $(SOGOD)
Expand Down
2 changes: 1 addition & 1 deletion Tests/Integration/GNUmakefile.preamble
Expand Up @@ -16,4 +16,4 @@ ADDITIONAL_LIB_DIRS += \
-L/usr/local/lib/sogo -L/usr/lib/sogo -L/usr/lib64/sogo -lEOControl -lNGStreams -lNGMime -lNGExtensions


ADDITIONAL_LDFLAGS += -Wl,--no-as-needed -Wl,--rpath,$(GNUSTEP_SYSTEM_LIBRARIES)/sogo
ADDITIONAL_LDFLAGS += -Wl,--no-as-needed -Wl,--rpath,$(SOGO_SYSLIBDIR)/sogo
2 changes: 1 addition & 1 deletion Tools/GNUmakefile
Expand Up @@ -4,7 +4,7 @@ include ../config.make
include $(GNUSTEP_MAKEFILES)/common.make
include ../Version

ADDITIONAL_LDFLAGS += -Wl,--rpath,$(GNUSTEP_SYSTEM_LIBRARIES)/sogo
ADDITIONAL_LDFLAGS += -Wl,--rpath,$(SOGO_SYSLIBDIR)/sogo

###
SOGO_TOOL = sogo-tool
Expand Down
2 changes: 1 addition & 1 deletion configure
Expand Up @@ -270,7 +270,7 @@ genConfigMake() {
fi

cfgwrite "HOSTNAME=${HOSTNAME}"
cfgwrite "SOGO_SYSLIBDIR=\${GNUSTEP_LIBRARIES}"
cfgwrite "SOGO_SYSLIBDIR=\${GNUSTEP_SYSTEM_LIBRARIES}"
cfgwrite "SOGO_LIBDIR=\${GNUSTEP_LIBRARY}/SOGo"
cfgwrite "SOGO_TEMPLATESDIR=\${SOGO_LIBDIR}/Templates"
cfgwrite "SOGO_WEBSERVERRESOURCESDIR=\${SOGO_LIBDIR}/WebServerResources"
Expand Down

0 comments on commit 68655de

Please sign in to comment.