From: Kevin M. Rosenberg Date: Wed, 19 Nov 2003 17:43:03 +0000 (+0000) Subject: r8251: fix compilation on SunOS X-Git-Tag: v3.8.6~767 X-Git-Url: http://git.kpe.io/?p=clsql.git;a=commitdiff_plain;h=076ffdb30cae14fc70fd8834208aaecff988b433 r8251: fix compilation on SunOS --- diff --git a/db-mysql/Makefile b/db-mysql/Makefile index 1f5ea48..7af1007 100644 --- a/db-mysql/Makefile +++ b/db-mysql/Makefile @@ -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 diff --git a/db-mysql/make.sh b/db-mysql/make.sh index 24412b8..fbd124b 100644 --- a/db-mysql/make.sh +++ b/db-mysql/make.sh @@ -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 ;; diff --git a/uffi/make.sh b/uffi/make.sh index 8bb895c..ba59d82 100644 --- a/uffi/make.sh +++ b/uffi/make.sh @@ -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 ;;