termux-packages/packages/perl/cnf-configure_path.sh.patch
Henrik Grimler eb5f59aa0e perl: fix default libpath
Makes it easier to install cpan modules
2019-05-17 21:42:07 +02:00

12 lines
357 B
Diff

--- ../configure_path.sh.orig 2019-05-17 19:33:29.839841883 +0200
+++ ./cnf/configure_path.sh 2019-05-17 19:33:56.726506709 +0200
@@ -108,7 +108,7 @@
define privlibexp "$privlib"
define binexp "$bin"
-define libpth "/lib /usr/lib /usr/local/lib"
+define libpth "@TERMUX_PREFIX@/lib @TERMUX_PREFIX@/local/lib"
define glibpth "$libpth"
define plibpth