Browse Source
Merge pull request #15937 from TDT-AG/pr/20210623-libmariadb
libmariadb: fix compilation cmake issue
lilik-openwrt-22.03
Rosen Penev
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
11 additions and
0 deletions
-
libs/libmariadb/patches/0001-libmariadb-fix-cmake.patch
|
@ -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}") |