packages/multimedia/crtmpserver/patches/020-add-rpath.patch
jow 8fc88341d3 [packages] add crtmpserver - a high performance C++ RTMP streaming server
git-svn-id: svn://svn.openwrt.org/openwrt/packages@25679 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-23 23:06:08 +00:00

16 lines
759 B
Diff

Index: crtmpserver-r219/builders/make/linux.mk
===================================================================
--- crtmpserver-r219.orig/builders/make/linux.mk
+++ crtmpserver-r219/builders/make/linux.mk
@@ -29,8 +29,8 @@ OPTIMIZATIONS = -O3
COMPILE_FLAGS = $(FPIC) $(OPTIMIZATIONS)
#linking flags
-dynamic_lib_flags = $(FPIC) $(OPTIMIZATIONS) -Wl,-soname,$(DYNAMIC_LIB_PREFIX)$(1)$(DYNAMIC_LIB_SUFIX) -Wl,-rpath,"\$$ORIGIN"
-dynamic_exec_flags = $(FPIC) $(OPTIMIZATIONS) -Wl,-rpath,"\$$ORIGIN"
+dynamic_lib_flags = $(FPIC) $(OPTIMIZATIONS) -Wl,-soname,$(DYNAMIC_LIB_PREFIX)$(1)$(DYNAMIC_LIB_SUFIX) -Wl,-rpath,/usr/lib/rtmpserver
+dynamic_exec_flags = $(FPIC) $(OPTIMIZATIONS) -Wl,-rpath,/usr/lib/rtmpserver
#compile switches
PLATFORM_DEFINES = \