From: nveid Date: Mon, 11 Sep 2006 05:16:07 +0000 (+0000) Subject: mysql hints - makes it so mysql is detected in certain servers such as X-Git-Tag: 0.72p1~5 X-Git-Url: https://git.theari.com/?a=commitdiff_plain;h=fc454dcb3d0d24e2b0f24a34b93b4761d7d5df09;p=cobramush.git mysql hints - makes it so mysql is detected in certain servers such as fedora and generally where mysql is installed in a subdirectory in the libpath --- diff --git a/game/txt/changes.txt b/game/txt/changes.txt index 4db496b..a814dc8 100644 --- a/game/txt/changes.txt +++ b/game/txt/changes.txt @@ -9,9 +9,6 @@ CobraMUSH Version 0.72p1 Version 0.72p1 is a bugfix/maintenance release of version 0.72. It is the first bugfix/maintenance release in that series. - Fixes: - * Fixed notify bug that caused the chat system to crash [AEJ] - & 0.72 CobraMUSH Version 0.72 This is a list of changes in CobraMUSH that could be of diff --git a/hints/linux_2.sh b/hints/linux_2.sh index 36b9674..ae6bc95 100644 --- a/hints/linux_2.sh +++ b/hints/linux_2.sh @@ -1,2 +1,14 @@ nm_opt='-B' + +# sometimes mysql might be found in an actual mysql +# subdirectory in the library path.. We'll need to +# check for that + +if [ -d /usr/lib/mysql ]; then + ldflags='-L/usr/lib/mysql' + elif [ -d /usr/local/lib/mysql ]; then + ldflags='-L/usr/local/lib/mysql' +fi + + echo "I suggest using sysmalloc when you edit options.h."