Browse Source

mariadb: fix cmake issue

Same fix that went into libmariadb package with commit fd13c12.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
lilik-openwrt-22.03
Sebastian Kemper 3 years ago
parent
commit
1c73bd8591
1 changed files with 11 additions and 0 deletions
  1. +11
    -0
      utils/mariadb/patches/210-libmariadb-fix-cmake.patch

+ 11
- 0
utils/mariadb/patches/210-libmariadb-fix-cmake.patch View File

@ -0,0 +1,11 @@
--- a/libmariadb/cmake/ConnectorName.cmake
+++ b/libmariadb/cmake/ConnectorName.cmake
@@ -22,7 +22,7 @@ IF(CMAKE_SYSTEM_NAME MATCHES "Windows")
SET(MACHINE_NAME "x64")
ELSE()
SET(MACHINE_NAME "32")
- END()
+ ENDIF()
ENDIF()
SET(product_name "mysql-connector-c-${CPACK_PACKAGE_VERSION}-${PLATFORM_NAME}${CONCAT_SIGN}${MACHINE_NAME}")

Loading…
Cancel
Save