disable rpath
authorHauke Wintjen <hwintjen@rimpl-consulting.de>
Tue, 2 Apr 2013 19:09:09 +0000 (21:09 +0200)
committerJochen Sprickerhof <jspricke@debian.org>
Sat, 9 Sep 2017 14:17:46 +0000 (15:17 +0100)
This has the advance that we dont get any lintian warnings but the drawback that afterwards
the drivers.so are no longer found.

So this patch is DISABLED in series currently.

This is caused by the fact that dlopen does not consider the current dir if not told so
(XnLinuxSharedLibs.cpp should be fixed for that).

Gbp-Pq: Name 0004-disable-rpath.patch

ThirdParty/PSCommon/BuildSystem/CommonCppMakefile

index f584b346c5ed56109d866a2be1deddf70dfd4f78..b32e42243b0d3503461f21aa27abac753a7dd982 100644 (file)
@@ -94,7 +94,7 @@ endif
 ifneq "$(EXE_NAME)" ""
        OUTPUT_NAME = $(EXE_NAME)
        # We want the executables to look for the .so's locally first:
-       LDFLAGS += -Wl,-rpath ./
+       #       LDFLAGS += -Wl,-rpath ./
        OUTPUT_COMMAND = $(CXX) -o $(OUTPUT_FILE) $(OBJ_FILES) $(LDFLAGS)
 endif
 ifneq "$(SLIB_NAME)" ""