projects
/
clsql.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r11056: 28 Aug 2006 Kevin Rosenberg <kevin@rosenberg.net>
[clsql.git]
/
db-mysql
/
make.sh
diff --git
a/db-mysql/make.sh
b/db-mysql/make.sh
index c5c60059df9fca4fd0322da7776b422442895b6e..58e2f2cdb7e7e4bb685a1fbbea84812296625d66 100644
(file)
--- a/
db-mysql/make.sh
+++ b/
db-mysql/make.sh
@@
-2,7
+2,9
@@
case "`uname`" in
Linux) os_linux=1 ;;
case "`uname`" in
Linux) os_linux=1 ;;
+ GNU) os_linux=1 ;;
FreeBSD) os_freebsd=1 ;;
FreeBSD) os_freebsd=1 ;;
+ GNU/kFreeBSD) os_gnukfreebsd=1;;
Darwin) os_darwin=1 ;;
SunOS) os_sunos=1 ;;
AIX) os_aix=1 ;;
Darwin) os_darwin=1 ;;
SunOS) os_sunos=1 ;;
AIX) os_aix=1 ;;
@@
-10,7
+12,7
@@
case "`uname`" in
exit 1 ;;
esac
exit 1 ;;
esac
-if [ "$os_linux" -o "$os_freebsd" ]; then
+if [ "$os_linux" -o "$os_freebsd"
-o "$os_gnukfreebsd"
]; then
gcc $CFLAGS -fPIC -c $SOURCE -o $OBJECT
ld -shared -soname=$BASE $OBJECT $LDFLAGS -o $SHARED_LIB
elif [ "$os_darwin" ]; then
gcc $CFLAGS -fPIC -c $SOURCE -o $OBJECT
ld -shared -soname=$BASE $OBJECT $LDFLAGS -o $SHARED_LIB
elif [ "$os_darwin" ]; then