Improve the DL_LIBS check in config-user (#18892)

This commit is contained in:
pancake 2021-07-08 00:49:52 +02:00 committed by GitHub
parent d2628e46d6
commit df953a4088
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -48,15 +48,17 @@ LIBVERSION=@LIBVERSION@
OSTYPE=@USEROSTYPE@
BUILD_OS=@BUILD_OS@
HOST_OS=@HOST_OS@
# hack: must be fixed in acr
ifeq ($(WANT_DYLINK),1)
ifneq ($(OSTYPE),darwin)
DL_LIBS=@DL_LIBS@
endif
# workaround: must be fixed in acr
ifeq ($(OSTYPE),qnx)
DL_LIBS=
endif
else
DL_LIBS=@DL_LIBS@
endif
else
# WANT_DYLINK=0
DL_LIBS=
endif