summaryrefslogtreecommitdiff
path: root/tolua/src/lib/GNUmakefile
diff options
context:
space:
mode:
Diffstat (limited to 'tolua/src/lib/GNUmakefile')
-rw-r--r--tolua/src/lib/GNUmakefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/tolua/src/lib/GNUmakefile b/tolua/src/lib/GNUmakefile
index b2091f3..9d80bc4 100644
--- a/tolua/src/lib/GNUmakefile
+++ b/tolua/src/lib/GNUmakefile
@@ -11,6 +11,9 @@ OBJS= \
tolua_push.o \
tolua_to.o
+CFLAGS = \
+ -fPIC
+
T= $(TOLUA)/lib/libtolua.a
all: $T