mirror of
https://github.com/openwrt/packages.git
synced 2025-12-22 01:44:32 +04:00
mariadb: move libmariadb into its own package
This way when only wanting the library nobody needs to download and compile the server package, saving space and time. Also this way we can avoid sudden SONAME bumps during a server upgrade. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
This commit is contained in:
11
libs/libmariadb/patches/fix-ucontext-header.patch
Normal file
11
libs/libmariadb/patches/fix-ucontext-header.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- a/cmake/CheckIncludeFiles.cmake
|
||||
+++ b/cmake/CheckIncludeFiles.cmake
|
||||
@@ -46,4 +46,7 @@
|
||||
CHECK_INCLUDE_FILES (sys/un.h HAVE_SYS_UN_H)
|
||||
CHECK_INCLUDE_FILES (unistd.h HAVE_UNISTD_H)
|
||||
CHECK_INCLUDE_FILES (utime.h HAVE_UTIME_H)
|
||||
-CHECK_INCLUDE_FILES (ucontext.h HAVE_UCONTEXT_H)
|
||||
+CHECK_INCLUDE_FILES (ucontext.h HAVE_UCONTEXT_HEADER)
|
||||
+IF(HAVE_UCONTEXT_HEADER)
|
||||
+ CHECK_FUNCTION_EXISTS(makecontext HAVE_UCONTEXT_H)
|
||||
+ENDIF(HAVE_UCONTEXT_HEADER)
|
||||
Reference in New Issue
Block a user