1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-11-25 16:53:09 +02:00

[mcabber] add rpath-links to EXTRA_LDFLAGS

This commit is contained in:
Xiangfu Liu 2010-07-14 18:03:59 +08:00
parent cd9c84ba60
commit 02e1c5673c

View File

@ -34,6 +34,7 @@ EXTRA_CFLAGS += \
-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/usr/include
EXTRA_LDFLAGS += \ EXTRA_LDFLAGS += \
-Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
-L$(STAGING_DIR)/usr/lib/libintl/lib \ -L$(STAGING_DIR)/usr/lib/libintl/lib \
-L$(STAGING_DIR)/usr/lib/libiconv/lib -lm -L$(STAGING_DIR)/usr/lib/libiconv/lib -lm
@ -48,9 +49,6 @@ endef
define Package/mcabber/install define Package/mcabber/install
$(INSTALL_DIR) $(1)/usr/bin/ $(INSTALL_DIR) $(1)/usr/bin/
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/mcabber $(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_DIR) $(1)/usr/share/mcabber/help/en/
$(INSTALL_BIN) $(PKG_BUILD_DIR)/doc/help/en/*.txt $(1)/usr/share/mcabber/help/en/ $(INSTALL_BIN) $(PKG_BUILD_DIR)/doc/help/en/*.txt $(1)/usr/share/mcabber/help/en/
endef endef