depot/third_party/nixpkgs/pkgs/development/r-modules/patches/qtbase.patch
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

13 lines
554 B
Diff

diff -ru -x '*~' qtbase_orig/src/Makefile qtbase/src/Makefile
--- qtbase_orig/src/Makefile 2012-03-03 03:57:47.000000000 +0900
+++ qtbase/src/Makefile 2014-11-01 23:06:51.383876323 +0900
@@ -10,6 +10,9 @@
-DR_INCLUDES=${R_INCLUDE_DIR} \
-DCMAKE_INSTALL_PREFIX=../src; \
make install
+# I could not control RPATH via CMake. HELP WANTED!
+ patchelf --set-rpath ${CMAKE_LIBRARY_PATH} qtbase.so
+ find ../inst/local/ -executable -type f -print0 | xargs -0 patchelf --set-rpath ${CMAKE_LIBRARY_PATH}
clean:
rm -rf ../kdebindings-build