summaryrefslogtreecommitdiff
blob: 9203733ee80e999ae65ad773015a822768ca65c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: OpenNI2-9999/ThirdParty/PSCommon/BuildSystem/CommonCppMakefile
===================================================================
--- OpenNI2-9999.orig/ThirdParty/PSCommon/BuildSystem/CommonCppMakefile
+++ OpenNI2-9999/ThirdParty/PSCommon/BuildSystem/CommonCppMakefile
@@ -93,8 +93,6 @@ ifneq "$(LIB_NAME)" ""
 endif
 ifneq "$(EXE_NAME)" ""
 	OUTPUT_NAME = $(EXE_NAME)
-	# We want the executables to look for the .so's locally first:
-	LDFLAGS += -Wl,-rpath ./
 	OUTPUT_COMMAND = $(CXX) -o $(OUTPUT_FILE) $(OBJ_FILES) $(LDFLAGS)
 endif
 ifneq "$(SLIB_NAME)" ""