summaryrefslogtreecommitdiff
path: root/links/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'links/Makefile')
-rw-r--r--links/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/links/Makefile b/links/Makefile
index 3028528..a031b88 100644
--- a/links/Makefile
+++ b/links/Makefile
@@ -26,7 +26,7 @@ define Package/links
SECTION:=net
CATEGORY:=Network
URL:=http://links.twibright.com/
- DEPENDS:=+libpng +libtiff
+ DEPENDS:=+libpng +libtiff +libsdl
endef
define Package/links/description
@@ -42,10 +42,13 @@ CONFIGURE_ARGS += --enable-graphics \
--without-x \
--without-fb
-TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include/directfb
-
CONFIGURE_VARS += \
- DIRECTFB_CONFIG="$(STAGING_DIR)/root-xburst/usr/bin/directfb-config"
+ DIRECTFB_CONFIG="$(STAGING_DIR)/root-xburst/usr/bin/directfb-config --prefix=$(STAGING_DIR)/usr"
+
+define Build/Configure
+ (cd $(PKG_BUILD_DIR); autoreconf -fi );
+ $(call Build/Configure/Default)
+endef
define Package/links/install
$(INSTALL_DIR) $(1)/usr/bin