package/mariadb: fix build with libressl
Fix the following build failure with libressl: CMake Error: TRY_RUN() invoked in cross-compiling mode, please set the following cache variables appropriately: LIBRESSL_RESULT (advanced) LIBRESSL_RESULT__TRYRUN_OUTPUT (advanced) For details see /nvmedata/autobuild/instance-27/output-1/build/mariadb-10.3.34/TryRunResults.cmake Fixes: - http://autobuild.buildroot.org/results/cbdbfcdae4b89ac678e1bf6bcded96872c7223ab Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
parent
d0b467436c
commit
1748086519
@ -60,6 +60,12 @@ MARIADB_CONF_OPTS += -DCMAKE_CROSSCOMPILING=1
|
||||
# Explicitly disable dtrace to avoid detection of a host version
|
||||
MARIADB_CONF_OPTS += -DENABLE_DTRACE=0
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBRESSL),y)
|
||||
MARIADB_CONF_OPTS += \
|
||||
-DLIBRESSL_RESULT=ON \
|
||||
-DLIBRESSL_RESULT__TRYRUN_OUTPUT="LibreSSL $(LIBRESSL_VERSION)"
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_MARIADB_SERVER),y)
|
||||
ifeq ($(BR2_PACKAGE_MARIADB_SERVER_EMBEDDED),y)
|
||||
MARIADB_CONF_OPTS += -DWITH_EMBEDDED_SERVER=ON
|
||||
|
Loading…
Reference in New Issue
Block a user