SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
|
@ -0,0 +1,14 @@
|
|||
Properly parse library suffixes on OpenBSD
|
||||
|
||||
Index: cmake/modules/GetLibraryName.cmake
|
||||
--- cmake/modules/GetLibraryName.cmake.orig
|
||||
+++ cmake/modules/GetLibraryName.cmake
|
||||
@@ -2,7 +2,7 @@
|
||||
function(get_library_name path name)
|
||||
get_filename_component(path ${path} NAME)
|
||||
set(prefixes ${CMAKE_FIND_LIBRARY_PREFIXES})
|
||||
- set(suffixes ${CMAKE_FIND_LIBRARY_SUFFIXES})
|
||||
+ set(suffixes ${CMAKE_FIND_LIBRARY_SUFFIXES} ".so.[0-9]+.[0-9]+")
|
||||
list(FILTER prefixes EXCLUDE REGEX "^\\s*$")
|
||||
list(FILTER suffixes EXCLUDE REGEX "^\\s*$")
|
||||
if(prefixes)
|
Loading…
Add table
Add a link
Reference in a new issue