summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-11-30 11:25:30 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2009-11-30 11:25:30 +0100
commitcf1028074477653b7aa7bf86930b2f5c3bc55820 (patch)
tree94833fc838cc422227a7e5407d678414ffc1d6e0 /package
parentb48fb8c4aaf83336a3be2133de423f552c5960f4 (diff)
package/alsamixergui: fix build
And provide correct dependencies (alsa-lib). Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package')
-rw-r--r--package/alsamixergui/Config.in1
-rw-r--r--package/alsamixergui/alsamixergui.mk6
2 files changed, 5 insertions, 2 deletions
diff --git a/package/alsamixergui/Config.in b/package/alsamixergui/Config.in
index c7508bbca..5a31b2031 100644
--- a/package/alsamixergui/Config.in
+++ b/package/alsamixergui/Config.in
@@ -1,5 +1,6 @@
config BR2_PACKAGE_ALSAMIXERGUI
depends on BR2_PACKAGE_XORG7
+ depends on BR2_PACKAGE_ALSA_LIB
select BR2_PACKAGE_FLTK
bool "alsamixergui"
help
diff --git a/package/alsamixergui/alsamixergui.mk b/package/alsamixergui/alsamixergui.mk
index e575a223b..374e9e33d 100644
--- a/package/alsamixergui/alsamixergui.mk
+++ b/package/alsamixergui/alsamixergui.mk
@@ -10,9 +10,11 @@ ALSAMIXERGUI_AUTORECONF = YES
ALSAMIXERGUI_INSTALL_STAGING = NO
ALSAMIXERGUI_INSTALL_TARGET = YES
-ALSAMIXERGUI_CONF_OPT = LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib -lstdc++ -lX11"
+ALSAMIXERGUI_CONF_ENV = ac_cv_lib_fltk_numericsort=yes \
+ ac_cv_lib_fltk_fl_numericsort=yes \
+ ac_cv_lib_asound_snd_ctl_open=yes
-ALSAMIXERGUI_DEPENDENCIES = fltk
+ALSAMIXERGUI_DEPENDENCIES = fltk alsa-lib
$(eval $(call AUTOTARGETS,package,alsamixergui))