[packages] scmpc: fix linking with openssl
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 4 Feb 2011 12:58:39 +0000 (12:58 +0000)
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 4 Feb 2011 12:58:39 +0000 (12:58 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@25362 3c298f89-4303-0410-b956-a3cf2f4a3e73

sound/scmpc/Makefile

index 7610539..de36e41 100644 (file)
@@ -40,6 +40,9 @@ MAKE_FLAGS += \
        $(TARGET_CONFIGURE_OPTS) \
        $(1) \
 
+TARGET_LDFLAGS += \
+       -Wl,-rpath-link=$(STAGING_DIR)/usr/lib
+
 define Package/scmpc/install
        $(INSTALL_DIR) $(1)/usr/bin
        $(CP) $(PKG_BUILD_DIR)/src/scmpc $(1)/usr/bin/