Diff of /thirdparty/Playrec/Makefile_unix [dd104e] .. [981280]  Maximize  Restore

Switch to side-by-side view

--- a/thirdparty/Playrec/Makefile_unix
+++ b/thirdparty/Playrec/Makefile_unix
@@ -26,7 +26,10 @@
 
 MEXTGT=playrec.$(EXT)
 MEXSRC=mex_dll_core.c pa_dll_playrec.c
-LIBS= -L. -L"$(MATLABROOT)/bin/$(ARCH)" -lmex -lmx $(PORTAUDIO)
+LIBS= -L. -L"$(MATLABROOT)/bin/$(ARCH)" -lmex -lmx \
+	  -Wl,-rpath-link,'$$ORIGIN/../../lib' \
+	  -Wl,-rpath,'$$ORIGIN/../../lib' $(PORTAUDIO)
+	  
 INCLUDES= -I"$(MATLABROOT)/extern/include" -I. -I../../src/thirdparty
 CFLAGS=-static-libgcc -fPIC -std=c99 -O3 -Wall -shared -DMATLAB_MEX_FILE
 

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks