Fix build fail on openwrt
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
This commit is contained in:
1 parent
281f4a81e1
commit
fee3f26c31
1 file changed
+2
@@ -18,6 +18,8 @@ include_directories(
|
||||
|
||||
set(EXTRA_LIBS ${LIBEV_LIBRARY} m)
|
||||
|
||||
include(CheckLibraryExists)
|
||||
|
||||
check_library_exists(dl dlopen "" HAVE_DLOPEN)
|
||||
if(HAVE_DLOPEN)
|
||||
list(APPEND EXTRA_LIBS dl)
|
||||
|
||||
Reference in new issue
Block a user