Browse Source

luacurl: fixed build 64bit platforms compiling with -fPIC

user/amery/next/luajit
Christian Wiese 13 years ago committed by Christian Wiese
parent
commit
15fc3d3b39
  1. 2
      lua/luacurl/luacurl.conf

2
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
}

Loading…
Cancel
Save