Fix rpath on OSX (also works on Linux).
@@ -2,10 +2,10 @@ all: testc testcxx
.PHONY: all
testc:
- cc test.c `pkg-config --cflags --libs tinyspline` -Wl,-rpath=`pkg-config --variable=libdir tinyspline` -o testc
+ cc test.c `pkg-config --cflags --libs tinyspline` -Wl,-rpath `pkg-config --variable=libdir tinyspline` -o testc
testcxx:
- c++ test.cxx `pkg-config --cflags --libs tinysplinecxx` -Wl,-rpath=`pkg-config --variable=libdir tinysplinecxx` -o testcxx
+ c++ test.cxx `pkg-config --cflags --libs tinysplinecxx` -Wl,-rpath `pkg-config --variable=libdir tinysplinecxx` -o testcxx
test: testc testcxx
./testc
