[packages] add crtmpserver - a high performance C++ RTMP streaming server
[packages.git] / multimedia / crtmpserver / patches / 020-add-rpath.patch
1 Index: crtmpserver-r219/builders/make/linux.mk
2 ===================================================================
3 --- crtmpserver-r219.orig/builders/make/linux.mk
4 +++ crtmpserver-r219/builders/make/linux.mk
5 @@ -29,8 +29,8 @@ OPTIMIZATIONS = -O3
6  COMPILE_FLAGS = $(FPIC) $(OPTIMIZATIONS)
7  
8  #linking flags
9 -dynamic_lib_flags = $(FPIC) $(OPTIMIZATIONS) -Wl,-soname,$(DYNAMIC_LIB_PREFIX)$(1)$(DYNAMIC_LIB_SUFIX) -Wl,-rpath,"\$$ORIGIN"
10 -dynamic_exec_flags = $(FPIC) $(OPTIMIZATIONS) -Wl,-rpath,"\$$ORIGIN"
11 +dynamic_lib_flags = $(FPIC) $(OPTIMIZATIONS) -Wl,-soname,$(DYNAMIC_LIB_PREFIX)$(1)$(DYNAMIC_LIB_SUFIX) -Wl,-rpath,/usr/lib/rtmpserver
12 +dynamic_exec_flags = $(FPIC) $(OPTIMIZATIONS) -Wl,-rpath,/usr/lib/rtmpserver
13  
14  #compile switches
15  PLATFORM_DEFINES = \