]> git.eshelyaron.com Git - emacs.git/commit
Fix libgccjit PROGNAME on MS-Windows
authorEli Zaretskii <eliz@gnu.org>
Sun, 7 Mar 2021 10:49:05 +0000 (12:49 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sun, 7 Mar 2021 10:49:05 +0000 (12:49 +0200)
commit7a13a0d616cde9f0f2a6fe217144e9891e769b61
tree03d992f5338d077e6df4a055052e5f89b901ab2e
parentc60f2f458a63a8ae4288652228f24e43fdc7bba7
Fix libgccjit PROGNAME on MS-Windows

* src/comp.c [WINDOWSNT]: Import gcc_jit_context_set_str_option.
(init_gccjit_functions): Load gcc_jit_context_set_str_option.
(gcc_jit_context_set_str_option) [WINDOWSNT]: New macro.
(Fcomp__compile_ctxt_to_file) [WINDOWSNT]: Pass the actual name of
the libgccjit DLL to the library, to be used as PROGNAME.
src/comp.c