r8251: fix compilation on SunOS
authorKevin M. Rosenberg <kevin@rosenberg.net>
Wed, 19 Nov 2003 17:43:03 +0000 (17:43 +0000)
committerKevin M. Rosenberg <kevin@rosenberg.net>
Wed, 19 Nov 2003 17:43:03 +0000 (17:43 +0000)
db-mysql/Makefile
db-mysql/make.sh
uffi/make.sh

index 1f5ea483c5ed92d539b6f382403d89491bb0d0b3..7af100780be42ff40e34431369ed2e06cd4af2c1 100644 (file)
@@ -26,7 +26,7 @@ shared_lib=$(base).so
 all: $(shared_lib)
 
 $(shared_lib): $(source) Makefile
-       CFLAGS="-I /usr/include/mysql" LDFLAGS="-lmysqlclient" BASE=$(base) OBJECT=$(object) SOURCE=$(source) SHARED_LIB=$(shared_lib) sh make.sh
+       CFLAGS="-I /usr/include/mysql -I /usr/local/include/mysql" LDFLAGS="-lmysqlclient" BASE=$(base) OBJECT=$(object) SOURCE=$(source) SHARED_LIB=$(shared_lib) sh make.sh
        rm $(object)
 
 .PHONY: distclean
index 24412b89615a6a6a5e5bed5960eede4e0c68b604..fbd124b5658c8c60a3d2dd51a2772c0105269fef 100644 (file)
@@ -3,7 +3,7 @@
 case "`uname`" in
     Linux) os_linux=1 ;;
     Darwin) os_darwin=1 ;;
-    SunOs) os_sunos=1 ;;
+    SunOS) os_sunos=1 ;;
     AIX) os_aix=1 ;;
     *) echo "Unable to identify uname " `uname`
        exit 1 ;;       
index 8bb895c3de52017f71999e21267a6a22c0b73686..ba59d82321738481c46ba55e7e885b1bcc218bc1 100644 (file)
@@ -3,7 +3,7 @@
 case "`uname`" in
     Linux) os_linux=1 ;;
     Darwin) os_darwin=1 ;;
-    SunOs) os_sunos=1 ;;
+    SunOS) os_sunos=1 ;;
     AIX) os_aix=1 ;;
     *) echo "Unable to identify uname " `uname`
        exit 1 ;;