Fix build fail on openwrt

Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
This commit is contained in:
Jianhui Zhao committed 2020-08-24 23:34:41 +08:00
1 parent 281f4a81e1
commit fee3f26c31
1 file changed
+2
+2
View File
@@ -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)