diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2014-10-14 14:57:49 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2014-10-14 14:57:49 +0200 |
commit | 6032e79dc4c51fa4dc82751eab3bd0cdf0eac845 (patch) | |
tree | 448cce6459c5232d68d0e0ce04bf328fdb23262b /tolua/src | |
parent | 2023ec5092d5fe6a79fcac9e34e79760f7d00375 (diff) | |
download | crawler-6032e79dc4c51fa4dc82751eab3bd0cdf0eac845.tar.gz crawler-6032e79dc4c51fa4dc82751eab3bd0cdf0eac845.tar.bz2 |
tolua relocatable code fix
Diffstat (limited to 'tolua/src')
-rw-r--r-- | tolua/src/lib/GNUmakefile | 3 |
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 |