2021-09-23 11:36:45 +00:00
|
|
|
--- a/libltdl/config/ltmain.m4sh
|
|
|
|
+++ b/libltdl/config/ltmain.m4sh
|
|
|
|
@@ -2183,6 +2183,9 @@ func_mode_install ()
|
2010-12-20 19:43:57 +00:00
|
|
|
relink_command=`$ECHO "$relink_command" | $SED "s%@inst_prefix_dir@%%"`
|
|
|
|
fi
|
|
|
|
|
|
|
|
+ relink_command=`$ECHO "$relink_command" | $SED "s%-L[[:space:]]*/lib[^[:space:]]*%%"`
|
|
|
|
+ relink_command=`$ECHO "$relink_command" | $SED "s%-L[[:space:]]*/usr/lib[^[:space:]]*%%"`
|
|
|
|
+
|
2021-09-23 11:36:45 +00:00
|
|
|
func_warning "relinking \`$file'"
|
2010-12-20 19:43:57 +00:00
|
|
|
func_show_eval "$relink_command" \
|
2021-09-23 11:36:45 +00:00
|
|
|
'func_fatal_error "error: relink \`$file'\'' with the above command before installing it"'
|
|
|
|
--- a/libltdl/config/ltmain.sh
|
|
|
|
+++ b/libltdl/config/ltmain.sh
|
|
|
|
@@ -2973,6 +2973,9 @@ func_mode_install ()
|
|
|
|
relink_command=`$ECHO "$relink_command" | $SED "s%@inst_prefix_dir@%%"`
|
|
|
|
fi
|
|
|
|
|
|
|
|
+ relink_command=`$ECHO "$relink_command" | $SED "s%-L[[:space:]]*/lib[^[:space:]]*%%"`
|
|
|
|
+ relink_command=`$ECHO "$relink_command" | $SED "s%-L[[:space:]]*/usr/lib[^[:space:]]*%%"`
|
|
|
|
+
|
|
|
|
func_warning "relinking \`$file'"
|
|
|
|
func_show_eval "$relink_command" \
|
|
|
|
'func_fatal_error "error: relink \`$file'\'' with the above command before installing it"'
|