mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 12:01:41 +02:00
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".
This commit is contained in:
parent
ec506e2904
commit
b58b88cc39
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user