diff options
Diffstat (limited to 'dev-libs/OpenNI2/files/soname.patch')
-rw-r--r-- | dev-libs/OpenNI2/files/soname.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-libs/OpenNI2/files/soname.patch b/dev-libs/OpenNI2/files/soname.patch new file mode 100644 index 000000000000..248ac631af58 --- /dev/null +++ b/dev-libs/OpenNI2/files/soname.patch @@ -0,0 +1,13 @@ +Index: OpenNI2-9999/ThirdParty/PSCommon/BuildSystem/CommonCppMakefile +=================================================================== +--- OpenNI2-9999.orig/ThirdParty/PSCommon/BuildSystem/CommonCppMakefile ++++ OpenNI2-9999/ThirdParty/PSCommon/BuildSystem/CommonCppMakefile +@@ -84,7 +84,7 @@ ifneq "$(LIB_NAME)" "" + ifneq ("$(OSTYPE)","Darwin") + LDFLAGS += -Wl,--no-undefined + OUTPUT_NAME = lib$(LIB_NAME).so +- OUTPUT_COMMAND = $(CXX) -o $(OUTPUT_FILE) $(OBJ_FILES) $(LDFLAGS) -shared ++ OUTPUT_COMMAND = $(CXX) -o $(OUTPUT_FILE) $(OBJ_FILES) -Wl,-soname,$(OUTPUT_NAME) $(LDFLAGS) -shared + else + LDFLAGS += -undefined error + OUTPUT_NAME = lib$(LIB_NAME).dylib |