commit cff44cd5f31e10ae0aa2229754759253d99e512f
parent d2c4fde7fee696a9aa977afb89a3b2bb3b6ec267
Author: Joris Vink <joris@coders.se>
Date: Tue, 25 Jun 2013 08:26:06 +0200
fix some broken things in the build script.
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/modules/example/build.sh b/modules/example/build.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#
# Copyright (c) 2013 Joris Vink <joris@coders.se>
#
@@ -21,10 +21,10 @@ KORE_DIR=../../
# Compiler settings.
CC=gcc
-CFLAGS="-I. -I${KORE_DIR}includes -Wall -Wstrict-prototypes \
+CFLAGS="-I. -I${KORE_DIR}/includes -Wall -Wstrict-prototypes \
-Wmissing-prototypes -Wmissing-declarations -Wshadow \
-Wpointer-arith -Wcast-qual -Wsign-compare -g"
-LDFLAGS+=-shared
+LDFLAGS=-shared
# Functions used in the build process.
function create_and_empty_dir {