From 2fbdf2a35af928d23045d55a3a9c5ee1152f5046 Mon Sep 17 00:00:00 2001 From: midipix Date: Tue, 1 Mar 2016 09:52:50 -0500 Subject: libtool.midipix: remove the install prefix dir test (invalid, not needed). --- libtool.midipix | 9 --------- 1 file changed, 9 deletions(-) diff --git a/libtool.midipix b/libtool.midipix index 3cb25ed..9ad3a0e 100755 --- a/libtool.midipix +++ b/libtool.midipix @@ -2754,15 +2754,6 @@ func_mode_install () # Determine the prefix the user has applied to our future dir. inst_prefix_dir=`$ECHO "$destdir" | $SED -e "s%$libdir\$%%"` - # Don't allow the user to place us outside of our expected - # location b/c this prevents finding dependent libraries that - # are installed to the same prefix. - # At present, this check doesn't affect windows .dll's that - # are installed into $libdir/../bin (currently, that works fine) - # but it's something to keep an eye on. - test "$inst_prefix_dir" = "$destdir" && \ - func_fatal_error "error: cannot install \`$file' to a directory not ending in $libdir" - if test -n "$inst_prefix_dir"; then # Stick the inst_prefix_dir data into the link command. relink_command=`$ECHO "$relink_command" | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"` -- cgit v1.2.3