aboutsummaryrefslogtreecommitdiff
path: root/package/links/links.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/links/links.mk')
-rw-r--r--package/links/links.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/package/links/links.mk b/package/links/links.mk
index dd6adb29b1..651a089fda 100644
--- a/package/links/links.mk
+++ b/package/links/links.mk
@@ -15,7 +15,10 @@ ifeq ($(BR2_PACKAGE_LINKS_GRAPHICS),y)
LINKS_CONF_OPTS += --enable-graphics
LINKS_DEPENDENCIES += libpng
ifeq ($(BR2_PACKAGE_XLIB_LIBXT),y)
-LINKS_CONF_OPTS += --with-x
+LINKS_CONF_OPTS += \
+ --with-x \
+ --x-includes=$(STAGING_DIR)/usr/include \
+ --x-libraries=$(STAGING_DIR)/usr/lib
LINKS_DEPENDENCIES += xlib_libXt
else
LINKS_CONF_OPTS += --without-x