]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix Windows libgccjit library name (bug#45303).
authorAndrea Corallo <akrl@sdf.org>
Sat, 19 Dec 2020 06:40:24 +0000 (07:40 +0100)
committerAndrea Corallo <akrl@sdf.org>
Sat, 19 Dec 2020 06:40:24 +0000 (07:40 +0100)
* lisp/term/w32-win.el (dynamic-library-alist): Fix Windows
libgccjit library name.
* src/emacs.c (syms_of_emacs): Likewise.

lisp/term/w32-win.el
src/emacs.c

index 4ed2710a55180dfab9ab03162a1b71b6843bdab2..1fcfca5dfdd816d2e1aa1c891f90ef226ef36249 100644 (file)
@@ -285,7 +285,7 @@ See the documentation of `create-fontset-from-fontset-spec' for the format.")
        '(zlib "zlib1.dll" "libz-1.dll")
        '(lcms2 "liblcms2-2.dll")
        '(json "libjansson-4.dll")
-       '(gccjit "libgccjit.dll")))
+       '(gccjit "libgccjit-0.dll")))
 
 ;;; multi-tty support
 (defvar w32-initialized nil
index afdfcade777c3c37d7bedea62a022cc00743b5c4..4b3f4c7305aa1a90296754e38aa6674aa5f525c7 100644 (file)
@@ -3084,10 +3084,10 @@ libraries; only those already known by Emacs will be loaded.  */);
 #ifdef WINDOWSNT
   /* We may need to load libgccjit when dumping before term/w32-win.el
      defines `dynamic-library-alist`. This will fail if that variable
-     is empty, so add libgccjit.dll to it.  */
+     is empty, so add libgccjit-0.dll to it.  */
   if (will_dump_p ())
     Vdynamic_library_alist = list1 (list2 (Qgccjit,
-                                           build_string ("libgccjit.dll")));
+                                           build_string ("libgccjit-0.dll")));
   else
     Vdynamic_library_alist = Qnil;
 #else