X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=db-mysql%2FMakefile;h=63004c725cea8c3f4d7d3223f530189027f7009d;hb=9d6ec50020109467ff766ad753a4194ee756b1b9;hp=ed0296f3156b394d05271aeb5c345622baed6f26;hpb=f10c3dcbe75b5532d6646e24ecd25f5651a0c3a9;p=clsql.git diff --git a/db-mysql/Makefile b/db-mysql/Makefile index ed0296f..63004c7 100644 --- a/db-mysql/Makefile +++ b/db-mysql/Makefile @@ -27,8 +27,8 @@ shared_lib=$(base).so .PHONY: all all: $(shared_lib) -CFLAGS=-I /usr/local/include/mysql -I /usr/include/mysql -I /sw/include/mysql -I /opt/local/include/mysql -LDFLAGS=-L/usr/local/lib64/mysql -L/usr/local/lib/mysql -L/usr/lib/mysql -L/sw/lib -L/opt/local/lib/mysql -L/usr/lib/gcc/i686-pc-cygwin/3.4.4 -lmysqlclient -lz -lc +CFLAGS=-I /usr/local/include/mysql -I /usr/include/mysql -I /sw/include/mysql -I /opt/local/include/mysql -I /usr/local/mysql/include +LDFLAGS=-L/usr/local/lib64/mysql -L/usr/local/lib/mysql -L/usr/lib/mysql -L/sw/lib -L/opt/local/lib/mysql -L/usr/local/mysql/lib -L/usr/lib/gcc/i686-pc-cygwin/3.4.4 -lmysqlclient -lz -lc ifneq ($(OS_CYGWIN),0) CFLAGS=-I /cygdrive/c/Program\ Files/MySQL/MySQL\ Server\ 5.0/include @@ -54,7 +54,7 @@ else ld -shared -soname=$(base) $(object) $(LDFLAGS) -o $(shared_lib) else gcc $(CFLAGS) -fPIC -c $(source) -o $(object) - ld -shared -soname=$(base) $(boject) $(LDFLAGS) -o $(shared_lib) + ld -shared -soname=$(base) $(object) $(LDFLAGS) -o $(shared_lib) endif endif endif