blob: 7503565d857f836e7ad1d66b0afb2506a4202f4f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
$NetBSD: patch-libinterp_dldfcn_config-module.awk,v 1.5 2022/10/24 18:02:19 adam Exp $
Install .oct loadable modules with INSTALL_LIB to avoid stripping them.
--- libinterp/dldfcn/config-module.awk.orig 2019-02-23 17:33:37.000000000 +0000
+++ libinterp/dldfcn/config-module.awk
@@ -55,7 +55,7 @@ BEGIN {
print "## of symbolic links";
print "";
print "%.oct : %.la"
- print "\t$(AM_V_GEN)$(INSTALL_PROGRAM) %reldir%/.libs/$(shell $(SED) -n -e \"s/dlname='\\([^']*\\)'/\\1/p\" < $<) $@"
+ print "\t$(AM_V_GEN)$(INSTALL_LIB) %reldir%/.libs/$(shell $(SED) -n -e \"s/dlname='\\([^']*\\)'/\\1/p\" < $<) $@"
for (i = 1; i <= nfiles; i++) {
basename = files[i];
|