summaryrefslogtreecommitdiffstats
path: root/package/alsamixergui
diff options
context:
space:
mode:
Diffstat (limited to 'package/alsamixergui')
-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))