diff options
Diffstat (limited to 'mysql')
-rw-r--r-- | mysql/buildfile | 6 |
1 files changed, 5 insertions, 1 deletions
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 |