diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-05-26 08:32:05 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-05-26 08:32:05 +0000 |
commit | b58b88cc39e97f3a14dacbb421bc4c59fb323d90 (patch) | |
tree | ce7016f332c352db21e3f7674b78fd80b733c117 /extra | |
parent | ec506e29049b3c4719f4c7307b56d8424e3d9b6e (diff) |
extra/cpufreqd: add -lpthread to main app
pthreads are used in the plugins so we need to link with pthread from
main app. This seems to be an uclibc "feature".
Diffstat (limited to 'extra')
-rw-r--r-- | extra/cpufreqd/APKBUILD | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extra/cpufreqd/APKBUILD b/extra/cpufreqd/APKBUILD index 44b6a914c1d..98d7f94cf37 100644 --- a/extra/cpufreqd/APKBUILD +++ b/extra/cpufreqd/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=cpufreqd pkgver=2.3.4 -pkgrel=0 +pkgrel=1 pkgdesc="A small daemon to adjust cpu speed (and indeed voltage)" url="http://sourceforge.net/projects/cpufreqd" license="GPL2" @@ -17,7 +17,7 @@ build () cd "$srcdir"/$pkgname-$pkgver ./configure --prefix=/usr \ --sysconfdir=/etc - make || return 1 + make LIBS=-lpthread || return 1 make DESTDIR="$pkgdir" install install -Dm 755 ../cpufreqd.initd "$pkgdir"/etc/init.d/cpufreqd \ || return 1 |