mirror of
https://github.com/MariaDB/server.git
synced 2026-05-07 15:45:33 +02:00
Fix some problems found by kent.
-lm is sometimes not linked, which causes errors about undefined rint() - FreeBSD embedded library does not link with the flags returned by mysql_config (added -lcrypt to LIBS, whereby causing overlinking in case of normal non-embedded client)
This commit is contained in:
parent
0ebe60070b
commit
ce59ee8098
2 changed files with 7 additions and 0 deletions
|
|
@ -284,6 +284,9 @@ IF(UNIX)
|
|||
IF(NOT LIBM)
|
||||
MY_SEARCH_LIBS(__infinity m LIBM)
|
||||
ENDIF()
|
||||
IF(NOT LIBM)
|
||||
MY_SEARCH_LIBS(rint m LIBM)
|
||||
ENDIF()
|
||||
MY_SEARCH_LIBS(gethostbyname_r "nsl_r;nsl" LIBNSL)
|
||||
MY_SEARCH_LIBS(bind "bind;socket" LIBBIND)
|
||||
MY_SEARCH_LIBS(crypt crypt LIBCRYPT)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue