Skip to content

Commit

Permalink
Fix build fail on openwrt
Browse files Browse the repository at this point in the history
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
  • Loading branch information
zhaojh329 committed Aug 24, 2020
1 parent 281f4a8 commit fee3f26
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit fee3f26

Please sign in to comment.