commit e0f30e1ae7f62f766645afda9dd7907856a00fa3
parent a5806d91f80e88b70447086f1a55a21300ec134c
Author: Joris Vink <joris@coders.se>
Date: Fri, 18 Jul 2014 16:05:19 +0200
Fix broken include paths and lib paths
Diffstat:
4 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/contrib/examples/generic/build.sh b/contrib/examples/generic/build.sh
@@ -18,7 +18,7 @@ SOURCE_DIR=src
# Compiler settings.
CC=gcc
-CFLAGS="-I. -I/usr/local/includes -Wall -Wstrict-prototypes \
+CFLAGS="-I. -I/usr/local/include -Wall -Wstrict-prototypes \
-Wmissing-prototypes -Wmissing-declarations -Wshadow \
-Wpointer-arith -Wcast-qual -Wsign-compare -g"
diff --git a/contrib/examples/pgsql_test/build.sh b/contrib/examples/pgsql_test/build.sh
@@ -7,7 +7,7 @@ MODULE=pgsql_test.module
SOURCE_DIR=.
PGDIR=$(pg_config --includedir)
CC=gcc
-CFLAGS="-I. -I/usr/local/includes -I${PGDIR} \
+CFLAGS="-I. -I/usr/local/include -I${PGDIR} \
-Wall -Wstrict-prototypes -Wmissing-prototypes \
-Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual \
-Wsign-compare -g"
diff --git a/contrib/examples/skeleton/build.sh b/contrib/examples/skeleton/build.sh
@@ -18,7 +18,7 @@ SOURCE_DIR=src
# Compiler settings.
CC=gcc
-CFLAGS="-I. -I/usr/local/includes -Wall -Wstrict-prototypes \
+CFLAGS="-I. -I/usr/local/include -Wall -Wstrict-prototypes \
-Wmissing-prototypes -Wmissing-declarations -Wshadow \
-Wpointer-arith -Wcast-qual -Wsign-compare -g"
diff --git a/contrib/examples/task_curl/build.sh b/contrib/examples/task_curl/build.sh
@@ -13,11 +13,11 @@ SOURCE_DIR=.
# Compiler settings.
CC=gcc
-CFLAGS="-I. -I/usr/local/includes -Wall -Wstrict-prototypes \
+CFLAGS="-I. -I/usr/local/include -Wall -Wstrict-prototypes \
-Wmissing-prototypes -Wmissing-declarations -Wshadow \
-Wpointer-arith -Wcast-qual -Wsign-compare -g"
-LDFLAGS="-shared -lcurl"
+LDFLAGS="-L/usr/local/lib -shared -lcurl"
MODULE_BUILD_DATE=$(date +"%Y-%m-%d %H:%M:%S")