Skip to content
Snippets Groups Projects
Commit b58b88cc authored by Natanael Copa's avatar Natanael Copa
Browse files

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".
parent ec506e29
No related branches found
No related tags found
No related merge requests found
# 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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment