0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-12-12 14:13:36 +00:00
termux-packages/packages/octave/0002-append-rpath-flag-to-pkg-config-files.patch
Chongyun Lee 21a85b908b new package: octave{,-x}
Co-Authored-By: MURAMATSU Atshshi <amura@tomato.sakura.ne.jp>
2023-12-24 13:30:54 +08:00

21 lines
593 B
Diff

--- a/libinterp/octinterp.in.pc
+++ b/libinterp/octinterp.in.pc
@@ -4,6 +4,6 @@
Version: @PACKAGE_VERSION@
Requires: octave = @PACKAGE_VERSION@
Requires.private:
-Libs: -L@octlibdir@ @LIBOCTINTERP@
+Libs: -L@octlibdir@ -Wl,-rpath,@octlibdir@ @LIBOCTINTERP@
Libs.private:
Cflags: -I@octincludedir@/..
--- a/liboctave/octave.in.pc
+++ b/liboctave/octave.in.pc
@@ -4,6 +4,6 @@
Version: @PACKAGE_VERSION@
Requires:
Requires.private:
-Libs: -L@octlibdir@ @LIBOCTAVE@
+Libs: -L@octlibdir@ -Wl,-rpath,@octlibdir@ @LIBOCTAVE@
Libs.private: @LIBOCTAVE_LINK_DEPS@
Cflags: -I@octincludedir@/..