libmariadb: fix compilation cmake issue

for fix issuse https://github.com/coolsnowwolf/lede/issues/8065

Signed-off-by: boos4721 <3.1415926535boos@gmail.com>
This commit is contained in:
boos4721 2021-10-17 16:26:20 +08:00
parent 60ab65d507
commit d76cbca6a4

View File

@ -0,0 +1,11 @@
--- a/cmake/ConnectorName.cmake
+++ b/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}")