aboutsummaryrefslogtreecommitdiff
path: root/lang/lua-rings/patches/makefile.patch
diff options
context:
space:
mode:
Diffstat (limited to 'lang/lua-rings/patches/makefile.patch')
-rw-r--r--lang/lua-rings/patches/makefile.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/lang/lua-rings/patches/makefile.patch b/lang/lua-rings/patches/makefile.patch
new file mode 100644
index 000000000..8bb055120
--- /dev/null
+++ b/lang/lua-rings/patches/makefile.patch
@@ -0,0 +1,11 @@
+--- lua-rings-1.3.0_org/Makefile 2014-06-04 15:24:37.583661746 +0800
++++ lua-rings-1.3.0/Makefile 2014-06-04 15:23:41.611662970 +0800
+@@ -3,6 +3,8 @@
+ T= rings
+ CONFIG= ./config
+
++CFLAGS+= -fPIC
++
+ include $(CONFIG)
+
+ SRCS= src/rings.c