taglib/taglib-1.8-strip-rpath.patch
Dave Plater fe3ac15e9d Accepting request 173416 from home:plater
Fix bnc#814814, this is actually work in progress and if I'm not sure it's fixed it will be removed before the next release. I hope to get both factory testers and upstream involved in this.

OBS-URL: https://build.opensuse.org/request/show/173416
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/taglib?expand=0&rev=50
2013-04-25 19:12:12 +00:00

30 lines
843 B
Diff

Index: examples/CMakeLists.txt
===================================================================
--- examples/CMakeLists.txt.orig 2012-09-06 20:03:15.000000000 +0200
+++ examples/CMakeLists.txt 2013-04-23 08:44:33.938480393 +0200
@@ -11,6 +11,8 @@ if(ENABLE_STATIC)
add_definitions(-DTAGLIB_STATIC)
endif(ENABLE_STATIC)
+SET(CMAKE_SKIP_BUILD_RPATH TRUE)
+
########### next target ###############
ADD_EXECUTABLE(tagreader tagreader.cpp)
@@ -45,6 +47,14 @@ ADD_EXECUTABLE(strip-id3v1 strip-id3v1.c
TARGET_LINK_LIBRARIES(strip-id3v1 tag )
+#set_target_properties(examples PROPERTIES
+# INSTALL_NAME_DIR ${BIN_INSTALL_DIR}
+# LINK_INTERFACE_LIBRARIES ""
+#)
+
+#install(TARGETS examples
+# FRAMEWORK DESTINATION ${FRAMEWORK_INSTALL_DIR}
+# RUNTIME DESTINATION ${BIN_INSTALL_DIR}
+#)
endif(BUILD_EXAMPLES)
-