packages/libs/libmariadb/patches/0001-libmariadb-fix-cmake.patch
boos4721 d76cbca6a4 libmariadb: fix compilation cmake issue
for fix issuse https://github.com/coolsnowwolf/lede/issues/8065

Signed-off-by: boos4721 <3.1415926535boos@gmail.com>
2021-10-17 16:26:20 +08:00

12 lines
329 B
Diff

--- 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}")