1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
From: Federico Ceratto <federico@debian.org>
Subject: support multiarch and disable RPATH
Forwarded: not-needed
Index: git/CMakeLists.txt
===================================================================
--- git.orig/CMakeLists.txt
+++ git/CMakeLists.txt
@@ -1333,6 +1333,8 @@ macro(srt_make_application name)
set_target_properties(${name} PROPERTIES ${FORCE_RPATH})
endif()
+set_target_properties(${name} PROPERTIES SKIP_BUILD_RPATH TRUE)
+
target_link_libraries(${name} ${srt_link_library})
if (USE_GNUSTL)
target_link_libraries(${name} PRIVATE ${GNUSTL_LIBRARIES} ${GNUSTL_LDFLAGS})
|