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 \