From 15fc3d3b392f9734ef7d81ad81a08ab1b7913f94 Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Mon, 28 Nov 2011 13:12:19 +0100 Subject: [PATCH] luacurl: fixed build 64bit platforms compiling with -fPIC --- lua/luacurl/luacurl.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/luacurl/luacurl.conf b/lua/luacurl/luacurl.conf index e67a7d4e3..e57035624 100644 --- a/lua/luacurl/luacurl.conf +++ b/lua/luacurl/luacurl.conf @@ -21,7 +21,7 @@ pkg_luacurl_custmain() { local CURLCFLAGS=$( pkg-config --cflags-only-I libcurl ) local CURLLIBS=$( pkg-config --libs libcurl ) - eval $CC -shared $LUACFLAGS $CURLCFLAGS luacurl.c -o luacurl.so $LUALIBS $CURLLIBS + eval $CC -shared -fPIC $LUACFLAGS $CURLCFLAGS luacurl.c -o luacurl.so $LUALIBS $CURLLIBS cp -avf luacurl.so $root$lualibdir }