Charles Wilson wrote:
2008-04-26  Charles Wilson  <...>

    [mingw|cygwin] Modify cwrapper to invoke target directly.

    * libltdl/config/ltmain.m4sh (func_to_native_path):
    new function. If $host is mingw, and $build is mingw
    or cygwin, convert path to mingw native format.
    (func_to_native_pathlist): new function. Ditto, for
    :-separated pathlists.
    (func_emit_cwrapperexe_src) [__CYGWIN__ && __STRICT_ANSI__]:
    ensure putenv and setenv are declared. Define HAVE_SETENV.
    (func_emit_cwrapperexe_src) [main]: add new constants to
    hold desired PATH settings; initialize and convert to native
    mingw format using functions above. Add new command-line
    options --lt-env-set, --lt-env-prepend, and --lt-env-append.
    No longer emit wrapper script as integral part of launching
    child. Remove support for (now) unnecessary $TARGETSHELL.
    Exec actual target executable directly.
    (func_emit_cwrapperexe_src) [lt_setenv]: new function.
    (func_emit_cwrapperexe_src) [lt_extend_str]: new function.
    (func_emit_cwrapperexe_src) [lt_split_name_value]: new function.
    (func_emit_cwrapperexe_src) [lt_opt_process_env_set]: new function.
    (func_emit_cwrapperexe_src) [lt_opt_process_env_prepend]: new function.
    (func_emit_cwrapperexe_src) [lt_opt_process_env_append]: new function.
    (func_emit_cwrapperexe_src) [lt_update_exe_path]: new function.
    (func_emit_cwrapperexe_src) [lt_update_lib_path]: new function.

Ping? Okay for push? *Any* comments at all?

--
Chuck



Reply via email to