diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-11-26 15:46:56 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-11-26 15:46:56 +0000 |
commit | 6d35b581eba0ef2bf53d26f311d34a380783cc99 (patch) | |
tree | afb79c20bec1f814d6019206611be56220c34931 /main/tolua++ | |
parent | 178907e14f08218935d646a4722a5c7a20705525 (diff) | |
download | aports-6d35b581eba0ef2bf53d26f311d34a380783cc99.tar.bz2 aports-6d35b581eba0ef2bf53d26f311d34a380783cc99.tar.xz |
main/tolua++: add -fPIC
Diffstat (limited to 'main/tolua++')
-rw-r--r-- | main/tolua++/APKBUILD | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/main/tolua++/APKBUILD b/main/tolua++/APKBUILD index 4fffbcce2..9f8bd7f5a 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++ |