aboutsummaryrefslogtreecommitdiffstats
path: root/main/tolua++
diff options
context:
space:
mode:
Diffstat (limited to 'main/tolua++')
-rw-r--r--main/tolua++/APKBUILD7
1 files changed, 3 insertions, 4 deletions
diff --git a/main/tolua++/APKBUILD b/main/tolua++/APKBUILD
index 4fffbcce22..9f8bd7f5a3 100644
--- a/main/tolua++/APKBUILD
+++ b/main/tolua++/APKBUILD
@@ -1,8 +1,7 @@
-# Contributor:
-# Maintainer:
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=tolua++
pkgver=1.0.93
-pkgrel=0
+pkgrel=1
pkgdesc="a tool to integrate C/C++ code with Lua"
url="http://www.codenix.com/~tolua/"
license="MIT"
@@ -21,7 +20,7 @@ prepare() {
build() {
cd "$_builddir"/src
# see http://lua-users.org/wiki/CompilingToluappWithoutScons
- gcc -c lib/*.c -I../include
+ gcc -fPIC -c lib/*.c -I../include
ar rcsv libtolua++.a *.o
gcc bin/tolua.c bin/toluabind.c -I../include -L. -llua -ltolua++ \
-o tolua++