summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorunknown <msvensson@neptunus.(none)>2006-03-20 19:55:38 +0100
committerunknown <msvensson@neptunus.(none)>2006-03-20 19:55:38 +0100
commit680ba0b7d93a2429cc24ae6e397e0a789b4e269d (patch)
tree0f3a26d289050899d6989ce27996682305fa88c6 /configure.in
parent4fb909838b9eadbb9fc0b13772487b118bbc7f77 (diff)
downloadmariadb-git-680ba0b7d93a2429cc24ae6e397e0a789b4e269d.tar.gz
Don't look for "dlopen" if server linked with -static or -all-static flag. Update after review
configure.in: Don't look for "dlopen" if server linked with -static or -all-static flag
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in8
1 files changed, 5 insertions, 3 deletions
diff --git a/configure.in b/configure.in
index e8e2bdb7951..7fe92ad1467 100644
--- a/configure.in
+++ b/configure.in
@@ -1545,11 +1545,13 @@ fi
#---END:
# dlopen, dlerror
-case $with_mysqld_ldflags in
+case "$with_mysqld_ldflags " in
- *-all-static*)
+ *"-static "*)
# No need to check for dlopen when mysqld is linked with
- # -all-static as it won't be able to load any functions.
+ # -all-static or -static as it won't be able to load any functions.
+ # NOTE! It would be better if it was possible to test if dlopen
+ # can be used, but a good way to test it couldn't be found
;;