We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 318a4d8 commit 6aa9606Copy full SHA for 6aa9606
package/slang/slang.mk
@@ -40,13 +40,17 @@ endif
40
41
ifeq ($(BR2_PACKAGE_NCURSES),y)
42
SLANG_DEPENDENCIES += ncurses
43
+SLANG_CONF_ENV += ac_cv_path_nc5config=$(STAGING_DIR)/usr/bin/ncurses5-config
44
else
45
SLANG_CONF_OPTS += ac_cv_path_nc5config=no
46
endif
47
48
ifeq ($(BR2_PACKAGE_READLINE),y)
49
SLANG_CONF_OPTS += --with-readline=gnu
50
SLANG_DEPENDENCIES += readline
51
+ifeq ($(BR2_STATIC_LIBS),y)
52
+SLANG_CONF_ENV += LIBS="`$(STAGING_DIR)/usr/bin/ncurses5-config --libs`"
53
+endif
54
55
56
ifeq ($(BR2_STATIC_LIBS),y)
0 commit comments