Hi,

And, FreeDV requires small fix to build on OpenBSD.
There is no libdl on not-Linux system, we need to skip the check.

OpenBSD advantage? It provides simple and secure desktop/server.
Some boards can run OpenBSD/armv7; AllWinner based board such as pcDuino,
Banana Pi and Orange Pi. For details see https://www.openbsd.org/armv7.html


Index: CMakeLists.txt
===================================================================
--- CMakeLists.txt      (revision 3995)
+++ CMakeLists.txt      (working copy)
@@ -421,7 +421,8 @@
 #
 # Find libdl for dlopen/dlclose
 #
-if(UNIX)
+if(CMAKE_SYSTEM_NAME MATCHES "Linux")
+    message("Linux")
     message(STATUS "Looking for dl library.")
     find_library(DL_LIBRARY dl)
     if(DL_LIBRARY)
@@ -434,7 +435,7 @@
     glibc-dev (DEB based systems)"
         )
     endif()
-endif(UNIX)
+endif()
 
     
 #Freedv 

-- 
SASANO Takayoshi (JG1UAA) <[email protected]>


_______________________________________________
Freetel-codec2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freetel-codec2

Reply via email to