summaryrefslogtreecommitdiff
path: root/package/fltk
diff options
context:
space:
mode:
Diffstat (limited to 'package/fltk')
-rw-r--r--package/fltk/Config.in1
-rw-r--r--package/fltk/fltk.mk8
2 files changed, 4 insertions, 5 deletions
diff --git a/package/fltk/Config.in b/package/fltk/Config.in
index 546ecb00a..eff72b56e 100644
--- a/package/fltk/Config.in
+++ b/package/fltk/Config.in
@@ -2,6 +2,7 @@ config BR2_PACKAGE_FLTK
bool "fltk"
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_PACKAGE_XORG7
+ select BR2_PACKAGE_XLIB_LIBXT
help
A cross-platform C++ GUI toolkit for UNIX/Linux (X11),
Microsoft Windows, and MacOS X.
diff --git a/package/fltk/fltk.mk b/package/fltk/fltk.mk
index 3a5233b80..b323c59e1 100644
--- a/package/fltk/fltk.mk
+++ b/package/fltk/fltk.mk
@@ -14,10 +14,8 @@ FLTK_INSTALL_TARGET = YES
FLTK_INSTALL_STAGING_OPT = DESTDIR=$(STAGING_DIR) STRIP=$(TARGET_STRIP) install
FLTK_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) STRIP=$(TARGET_STRIP) install
-FLTK_CONF_OPT = --target=$(GNU_TARGET_NAME) --host=$(GNU_TARGET_NAME) \
- --build=$(GNU_HOST_NAME) --prefix=/usr \
- --sysconfdir=/etc --enable-shared --enable-threads --with-x
+FLTK_CONF_OPT = --enable-shared --enable-threads --with-x
-FLTK_DEPENDENCIES = xserver_xorg-server
+FLTK_DEPENDENCIES = xserver_xorg-server xlib_libXt
-$(eval $(call AUTOTARGETS,package,fltk)) \ No newline at end of file
+$(eval $(call AUTOTARGETS,package,fltk))