From 6032e79dc4c51fa4dc82751eab3bd0cdf0eac845 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Tue, 14 Oct 2014 14:57:49 +0200 Subject: tolua relocatable code fix --- tolua/bin/README | 0 tolua/src/lib/GNUmakefile | 3 +++ 2 files changed, 3 insertions(+) create mode 100644 tolua/bin/README diff --git a/tolua/bin/README b/tolua/bin/README new file mode 100644 index 0000000..e69de29 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 -- cgit v1.2.3-54-g00ecf