Don't look for "dlopen" if server linked with -static or -all-static flag. Update after review

parent 0e6f9484
......@@ -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
;;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment