You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sys-libs/minizip-ng/files/minizip-ng-4.0.4-libbsd-ove...

17 lines
699 B

https://bugs.gentoo.org/889266
https://gitlab.freedesktop.org/libbsd/libbsd/-/issues/15
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -538,10 +538,10 @@ else()
if(HAVE_LIBBSD_ARC4RANDOM_BUF)
list(APPEND MINIZIP_DEF -DHAVE_LIBBSD -DHAVE_ARC4RANDOM_BUF)
- list(APPEND MINIZIP_INC ${LIBBSD_INCLUDE_DIRS})
list(APPEND MINIZIP_LIB ${LIBBSD_LIBRARIES})
list(APPEND MINIZIP_LBD ${LIBBSD_LIBRARY_DIRS})
+ add_compile_options(${LIBBSD_CFLAGS})
link_directories(${LIBBSD_LIBRARY_DIRS})
endif()
else()