append rpath-link argument to LDFLAGS
authorMirko Vogt <mirko@openwrt.org>
Sat, 4 Dec 2010 22:04:10 +0000 (22:04 +0000)
committerMirko Vogt <mirko@openwrt.org>
Sat, 4 Dec 2010 22:04:10 +0000 (22:04 +0000)
SVN-Revision: 24251

desktop/apps/tangogps/Makefile

index abfcd2ace0f990e08e900f07df9c9b3a5889139e..44fa7e564a4186f453b0565c130bf22f265208c3 100644 (file)
@@ -23,7 +23,8 @@ TARGET_CFLAGS+= \
 
 TARGET_LDFLAGS+= \
        -L$(STAGING_DIR)/usr/lib/libintl/lib \
-       -L$(STAGING_DIR)/usr/lib/libiconv/lib
+       -L$(STAGING_DIR)/usr/lib/libiconv/lib \
+       -Wl,-rpath-link=$(STAGING_DIR)/usr/lib
 
 define Package/tangogps
   SECTION:=xorg-apps