build-scripts/ltmain.sh
changeset 3346 195eb6d42bf0
parent 3085 4800979de337
child 5100 cce11d33d5c6
equal deleted inserted replaced
3345:437378d409b1 3346:195eb6d42bf0
  3013               func_to_host_path_result=""
  3013               func_to_host_path_result=""
  3014             fi
  3014             fi
  3015             ;;
  3015             ;;
  3016         esac
  3016         esac
  3017         if test -z "$func_to_host_path_result" ; then
  3017         if test -z "$func_to_host_path_result" ; then
  3018           func_error "Could not determine host path corresponding to"
  3018           #func_error "Could not determine host path corresponding to"
  3019           func_error "  '$1'"
  3019           #func_error "  '$1'"
  3020           func_error "Continuing, but uninstalled executables may not work."
  3020           #func_error "Continuing, but uninstalled executables may not work."
  3021           # Fallback:
  3021           # Fallback:
  3022           func_to_host_path_result="$1"
  3022           func_to_host_path_result="$1"
  3023         fi
  3023         fi
  3024         ;;
  3024         ;;
  3025     esac
  3025     esac
  3357 
  3357 
  3358 static const size_t env_append_opt_len  = LTWRAPPER_OPTION_PREFIX_LENGTH + 10;
  3358 static const size_t env_append_opt_len  = LTWRAPPER_OPTION_PREFIX_LENGTH + 10;
  3359 static const char *env_append_opt       = LTWRAPPER_OPTION_PREFIX "env-append";
  3359 static const char *env_append_opt       = LTWRAPPER_OPTION_PREFIX "env-append";
  3360   /* argument is putenv-style "foo=bar", new value of foo is ${foo}bar */
  3360   /* argument is putenv-style "foo=bar", new value of foo is ${foo}bar */
  3361 
  3361 
       
  3362 #undef main
  3362 int
  3363 int
  3363 main (int argc, char *argv[])
  3364 main (int argc, char *argv[])
  3364 {
  3365 {
  3365   char **newargz;
  3366   char **newargz;
  3366   int  newargc;
  3367   int  newargc;