Remove a no longer needed Mingw hack for libtool.
This commit is contained in:
parent
1542701d02
commit
5ff63ab2be
16
ltmain.sh
16
ltmain.sh
@ -4520,22 +4520,6 @@ EOF
|
||||
EOF
|
||||
|
||||
case $host_os in
|
||||
mingw*)
|
||||
cat <<"EOF"
|
||||
/* execv doesn't actually work on mingw as expected on unix */
|
||||
newargz = prepare_spawn (newargz);
|
||||
rval = _spawnv (_P_WAIT, lt_argv_zero, (const char * const *) newargz);
|
||||
if (rval == -1)
|
||||
{
|
||||
/* failed to start process */
|
||||
lt_debugprintf (__FILE__, __LINE__,
|
||||
"(main) failed to launch target \"%s\": %s\n",
|
||||
lt_argv_zero, nonnull (strerror (errno)));
|
||||
return 127;
|
||||
}
|
||||
return rval;
|
||||
EOF
|
||||
;;
|
||||
*)
|
||||
cat <<"EOF"
|
||||
execv (lt_argv_zero, newargz);
|
||||
|
Loading…
Reference in New Issue
Block a user