diff options
-rw-r--r-- | manifest | 2 | ||||
-rw-r--r-- | mysql/buildfile | 10 |
2 files changed, 8 insertions, 4 deletions
@@ -1,6 +1,6 @@ : 1 name: libmariadb -version: 10.2.10+3 +version: 10.2.10+4 project: mariadb summary: MariaDB C API client library license: LGPLv2.1 diff --git a/mysql/buildfile b/mysql/buildfile index 37017a8..b94bb8e 100644 --- a/mysql/buildfile +++ b/mysql/buildfile @@ -195,10 +195,14 @@ if! $windows # now. # if ($tclass == 'linux') - c.loptions += -Wl,--no-undefined # Make sure all symbols are resolvable. + { + # Make sure all symbols are resolvable. + # + libs{mariadb}: c.loptions += -Wl,--no-undefined + } elif ($tclass == 'macos') - c.loptions += -compatibility_version "$abi_version.0.0" \ - -current_version "$abi_version.0.0" + libs{mariadb}: c.loptions += -compatibility_version "$abi_version.0.0" \ + -current_version "$abi_version.0.0" c.libs += -lpthread -lm |