mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
build: Simplify DL_LIBS handling.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
fa5a15c961
commit
574cacdf15
@ -74,9 +74,9 @@ m4_ifdef([PKG_PROG_PKG_CONFIG], [PKG_PROG_PKG_CONFIG], [m4_fatal([pkg-config aut
|
||||
|
||||
AC_CHECK_LIB([m], [ceilf])
|
||||
|
||||
AC_ARG_VAR([DL_LIBS], [linker flags for dl])
|
||||
AC_SUBST([DL_LIBS])
|
||||
AC_CHECK_LIB([dl], [dlopen],
|
||||
[AC_SUBST([DL_LIBS], ["-ldl"])],
|
||||
[DL_LIBS="-ldl"],
|
||||
[AS_IF([test "$ac_cv_header_dlfnc_h" = "xyes"], [AC_MSG_ERROR([libdl not found.])])])
|
||||
|
||||
AC_ARG_VAR([PTHREAD_LIBS], [linker flags for pthreads])
|
||||
|
Loading…
Reference in New Issue
Block a user