From 1577887f80fa433a76666bb85127c870e38042c3 Mon Sep 17 00:00:00 2001 From: nbd Date: Wed, 2 Sep 2009 22:39:29 +0000 Subject: [PATCH] sane-backends: add missing dependency and ldflag git-svn-id: svn://svn.openwrt.org/openwrt/packages@17483 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- utils/sane-backends/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/utils/sane-backends/Makefile b/utils/sane-backends/Makefile index cef7efe74..1a520b296 100644 --- a/utils/sane-backends/Makefile +++ b/utils/sane-backends/Makefile @@ -30,7 +30,7 @@ define Package/sane-backends $(call Package/sane-backends/Default) SECTION:=utils CATEGORY:=Utilities - DEPENDS:=+sane-libs + DEPENDS:=+sane-libs +libtiff TITLE+= (backends) endef @@ -65,6 +65,10 @@ $(call Package/sane-backends/Default/description) This package contains the SANE frontends. endef +TARGET_LDFLAGS += \ + -Wl,-rpath-link $(STAGING_DIR)/usr/lib \ + -Wl,-rpath-link $(PKG_BUILD_DIR)/backend/.libs + CONFIGURE_ARGS+= \ --enable-shared \ --enable-static \ -- 2.11.0