From 13892e864cacf21636be25149eabcd3e2537f7aa Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Thu, 10 Sep 2009 06:53:19 +0000 Subject: main/lua: link to libpthread in case modules uses pthread Otherwise a module thats linked to pthread will go boom. This works around the issue with luasql.sqlite3. See http://bugs.gentoo.org/show_bug.cgi?id=189804 --- main/lua/APKBUILD | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'main') diff --git a/main/lua/APKBUILD b/main/lua/APKBUILD index 5e41bc03ad..8a770eda83 100644 --- a/main/lua/APKBUILD +++ b/main/lua/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa pkgname=lua pkgver=5.1.4 -pkgrel=2 +pkgrel=3 pkgdesc="A powerful light-weight programming language designed for extending applications." url="http://www.lua.org/" license="MIT" @@ -31,7 +31,7 @@ build () make CFLAGS=" -DLUA_USE_LINUX $CFLAGS" \ RPATH="/usr/lib" \ LUA_LIBS="-lreadline" \ - LIB_LIBS="-lm -ldl" \ + LIB_LIBS="-lpthread -lm -ldl" \ V=$pkgver \ gentoo_all || return 1 -- cgit v1.2.3