From 02e1c5673c2f9a215c7857f2f130ad8a9e5d93eb Mon Sep 17 00:00:00 2001 From: Xiangfu Liu Date: Wed, 14 Jul 2010 18:03:59 +0800 Subject: [PATCH] [mcabber] add rpath-links to EXTRA_LDFLAGS --- mcabber/Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/mcabber/Makefile b/mcabber/Makefile index bcde962..34b2f95 100644 --- a/mcabber/Makefile +++ b/mcabber/Makefile @@ -34,6 +34,7 @@ EXTRA_CFLAGS += \ -I$(STAGING_DIR)/usr/include EXTRA_LDFLAGS += \ + -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \ -L$(STAGING_DIR)/usr/lib/libintl/lib \ -L$(STAGING_DIR)/usr/lib/libiconv/lib -lm @@ -48,9 +49,6 @@ endef define Package/mcabber/install $(INSTALL_DIR) $(1)/usr/bin/ $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/mcabber $(1)/usr/bin/ - $(INSTALL_DIR) $(1)/usr/share/ - $(INSTALL_DIR) $(1)/usr/share/mcabber/ - $(INSTALL_DIR) $(1)/usr/share/mcabber/help/ $(INSTALL_DIR) $(1)/usr/share/mcabber/help/en/ $(INSTALL_BIN) $(PKG_BUILD_DIR)/doc/help/en/*.txt $(1)/usr/share/mcabber/help/en/ endef