1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
|
Last-Update: 2015-12-22
Forwarded: no
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=739515
Author: Dmitry Smirnov <onlyjob@member.fsf.org>
Description: set relative RPATH for `wbcopytables` executable.
--- a/plugins/migration/CMakeLists.txt
+++ b/plugins/migration/CMakeLists.txt
@@ -45,8 +45,9 @@
else()
set_target_properties(wbcopytables PROPERTIES COMPILE_FLAGS "-fPIE -pie")
endif()
+ set_target_properties(wbcopytables PROPERTIES INSTALL_RPATH "$ORIGIN")
target_link_libraries(wbcopytables wbbase ${MySQL_LIBRARIES} ${ODBC_LIBRARIES} ${PCRE_LIBRARIES} ${PYTHON_LIBRARIES})
if(COMMAND cotire)
set_target_properties(wbcopytables PROPERTIES
COTIRE_PREFIX_HEADER_IGNORE_PATH "${PRECOMPILED_HEADERS_EXCLUDE_PATHS};/usr/include/unixodbc_conf.h;/usr/include/sql.h;/usr/include/sqltypes.h;/usr/include/sqlext.h;/usr/include/sqlucode.h")
|