From: Hauke Wintjen Date: Tue, 2 Apr 2013 19:09:09 +0000 (+0200) Subject: disable rpath X-Git-Tag: archive/raspbian/2.2.0.33+dfsg-14+rpi1^2~14 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=4ce260f42706d877e757010fd039ce73c65dcf8e;p=openni2.git disable rpath 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 --- diff --git a/ThirdParty/PSCommon/BuildSystem/CommonCppMakefile b/ThirdParty/PSCommon/BuildSystem/CommonCppMakefile index f584b34..b32e422 100644 --- a/ThirdParty/PSCommon/BuildSystem/CommonCppMakefile +++ b/ThirdParty/PSCommon/BuildSystem/CommonCppMakefile @@ -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)" ""