mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-27 17:52:58 +02:00
win32: Use AC_CHECK_TOOL to find dlltool
https://bugzilla.gnome.org/show_bug.cgi?id=684145
This commit is contained in:
committed by
Kalev Lember
parent
e261b9c030
commit
4a506290a7
@@ -205,6 +205,7 @@ AS_IF([test "$glib_native_win32" = "yes"], [
|
|||||||
AC_MSG_ERROR([*** Could not find an implementation of nm in your PATH.])
|
AC_MSG_ERROR([*** Could not find an implementation of nm in your PATH.])
|
||||||
fi
|
fi
|
||||||
AC_CHECK_TOOL(RANLIB, ranlib, :)
|
AC_CHECK_TOOL(RANLIB, ranlib, :)
|
||||||
|
AC_CHECK_TOOL(DLLTOOL, dlltool, :)
|
||||||
AC_CHECK_PROG(ms_librarian, [lib.exe], [yes], [no])
|
AC_CHECK_PROG(ms_librarian, [lib.exe], [yes], [no])
|
||||||
])
|
])
|
||||||
AM_CONDITIONAL(MS_LIB_AVAILABLE, [test x$ms_librarian = xyes])
|
AM_CONDITIONAL(MS_LIB_AVAILABLE, [test x$ms_librarian = xyes])
|
||||||
|
@@ -24,7 +24,7 @@ no_undefined = -no-undefined
|
|||||||
module_test_exp = module-test.exp
|
module_test_exp = module-test.exp
|
||||||
|
|
||||||
module-test.exp: module-test.o
|
module-test.exp: module-test.o
|
||||||
dlltool --output-exp module-test.exp module-test.o
|
$(DLLTOOL) --output-exp module-test.exp module-test.o
|
||||||
|
|
||||||
spawn_test_win32_gui = spawn-test-win32-gui
|
spawn_test_win32_gui = spawn-test-win32-gui
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user