aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifest2
-rw-r--r--mysql/buildfile6
2 files changed, 6 insertions, 2 deletions
diff --git a/manifest b/manifest
index 8494df6..6b4df6c 100644
--- a/manifest
+++ b/manifest
@@ -3,7 +3,7 @@ name: libmysqlclient
# Note: remember to update doc-url below!
#
-version: 5.7.20+3
+version: 5.7.20+4
project: mysql
summary: MySQL C API client library
diff --git a/mysql/buildfile b/mysql/buildfile
index 8090742..744366b 100644
--- a/mysql/buildfile
+++ b/mysql/buildfile
@@ -210,7 +210,11 @@ if! $windows
# libmysql/CMakeList.txt. We have dropped the file for now.
#
if $linux
- cc.loptions += -Wl,--no-undefined # Make sure all symbols are resolvable.
+ {
+ # Make sure all symbols are resolvable.
+ #
+ libs{mysqlclient}: cc.loptions += -Wl,--no-undefined
+ }
cc.libs += ($tclass == 'bsd' ? -lexecinfo : -ldl) -lpthread -lm