summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2014-10-14 14:57:49 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2014-10-14 14:57:49 +0200
commit6032e79dc4c51fa4dc82751eab3bd0cdf0eac845 (patch)
tree448cce6459c5232d68d0e0ce04bf328fdb23262b
parent2023ec5092d5fe6a79fcac9e34e79760f7d00375 (diff)
downloadcrawler-6032e79dc4c51fa4dc82751eab3bd0cdf0eac845.tar.gz
crawler-6032e79dc4c51fa4dc82751eab3bd0cdf0eac845.tar.bz2
tolua relocatable code fix
-rw-r--r--tolua/bin/README0
-rw-r--r--tolua/src/lib/GNUmakefile3
2 files changed, 3 insertions, 0 deletions
diff --git a/tolua/bin/README b/tolua/bin/README
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/tolua/bin/README
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