aboutsummaryrefslogtreecommitdiff
path: root/mysql/buildfile
diff options
context:
space:
mode:
Diffstat (limited to 'mysql/buildfile')
-rw-r--r--mysql/buildfile10
1 files changed, 7 insertions, 3 deletions
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