build-scripts/ltmain.sh
changeset 3346 195eb6d42bf0
parent 3085 4800979de337
child 5100 cce11d33d5c6
--- a/build-scripts/ltmain.sh	Sun Oct 04 21:00:33 2009 +0000
+++ b/build-scripts/ltmain.sh	Sun Oct 04 22:21:17 2009 +0000
@@ -3015,9 +3015,9 @@
             ;;
         esac
         if test -z "$func_to_host_path_result" ; then
-          func_error "Could not determine host path corresponding to"
-          func_error "  '$1'"
-          func_error "Continuing, but uninstalled executables may not work."
+          #func_error "Could not determine host path corresponding to"
+          #func_error "  '$1'"
+          #func_error "Continuing, but uninstalled executables may not work."
           # Fallback:
           func_to_host_path_result="$1"
         fi
@@ -3359,6 +3359,7 @@
 static const char *env_append_opt       = LTWRAPPER_OPTION_PREFIX "env-append";
   /* argument is putenv-style "foo=bar", new value of foo is ${foo}bar */
 
+#undef main
 int
 main (int argc, char *argv[])
 {