mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-24 09:14:04 +02:00
Merge branch 'dev' into dev-0.12
This commit is contained in:
+6
-4
@@ -460,10 +460,12 @@ endif()
|
|||||||
set(COMMON_LINK_LIBRARIES)
|
set(COMMON_LINK_LIBRARIES)
|
||||||
|
|
||||||
if (UNIX)
|
if (UNIX)
|
||||||
# Not all platforms actually use a separate "dl" library, notably NetBSD and OpenBSD.
|
if(NOT MINIAUDIO_NO_RUNTIME_LINKING)
|
||||||
find_library(LIB_DL "dl")
|
# Not all platforms actually use a separate "dl" library, notably NetBSD and OpenBSD.
|
||||||
if(LIB_DL)
|
find_library(LIB_DL "dl")
|
||||||
list(APPEND COMMON_LINK_LIBRARIES dl) # For dlopen(), etc. Most compilers will link to this by default, but some may not.
|
if(LIB_DL)
|
||||||
|
list(APPEND COMMON_LINK_LIBRARIES dl) # For dlopen(), etc. Most compilers will link to this by default, but some may not.
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
list(APPEND COMMON_LINK_LIBRARIES pthread) # Some compilers will not link to pthread by default so list it here just in case.
|
list(APPEND COMMON_LINK_LIBRARIES pthread) # Some compilers will not link to pthread by default so list it here just in case.
|
||||||
|
|||||||
Reference in New Issue
Block a user