lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Please modify your Makefile for lua to use -fPIC. This is required to link
static LUA library to any other stuff that wants to build position 
independent code. 

Kind regards,
Aki Tuomi

>From 27d18f6aa78de0257f1e1764fc48ad45fab83573 Mon Sep 17 00:00:00 2001
From: Aki Tuomi <>
Date: Tue, 16 Dec 2014 09:49:43 +0200
Subject: [PATCH] Use fPIC

 src/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Makefile b/src/Makefile
index 7b4b2b7..a5ec275 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -7,7 +7,7 @@
 PLAT= none

 CC= gcc