83ebe561f550d0083328d7be111eb8c775b092c6
[openwrt/svn-archive/archive.git] / multimedia / crtmpserver / patches / 020-add-rpath.patch
1 Index: crtmpserver-r692/builders/make/linux.mk
2 ===================================================================
3 --- crtmpserver-r692.orig/builders/make/linux.mk
4 +++ crtmpserver-r692/builders/make/linux.mk
5 @@ -31,8 +31,8 @@ OPTIMIZATIONS = -O3
6 COMPILE_FLAGS = $(FPIC) $(OPTIMIZATIONS) $(CFLAGS)
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/crtmpserver
12 +dynamic_exec_flags = $(FPIC) $(OPTIMIZATIONS) -Wl,-rpath,/usr/lib/crtmpserver
13
14 #compile switches
15 PLATFORM_DEFINES = \