020-add-rpath.patch 621 B

12345678910111213
  1. --- a/builders/make/linux.mk
  2. +++ b/builders/make/linux.mk
  3. @@ -31,8 +31,8 @@ OPTIMIZATIONS = -O3
  4. COMPILE_FLAGS = $(FPIC) $(OPTIMIZATIONS) $(CFLAGS)
  5. #linking flags
  6. -dynamic_lib_flags = $(FPIC) $(OPTIMIZATIONS) -Wl,-soname,$(DYNAMIC_LIB_PREFIX)$(1)$(DYNAMIC_LIB_SUFIX) -Wl,-rpath,"\$$ORIGIN"
  7. -dynamic_exec_flags = $(FPIC) $(OPTIMIZATIONS) -Wl,-rpath,"\$$ORIGIN"
  8. +dynamic_lib_flags = $(FPIC) $(OPTIMIZATIONS) -Wl,-soname,$(DYNAMIC_LIB_PREFIX)$(1)$(DYNAMIC_LIB_SUFIX) -Wl,-rpath,/usr/lib/crtmpserver
  9. +dynamic_exec_flags = $(FPIC) $(OPTIMIZATIONS) -Wl,-rpath,/usr/lib/crtmpserver
  10. #compile switches
  11. PLATFORM_DEFINES = \