--- squeezeplay/Makefile.linux.orig 2013-02-01 13:11:35.000000000 +0100 +++ squeezeplay/Makefile.linux 2013-02-01 13:59:13.372326546 +0100 @@ -7,7 +7,7 @@ # Absolute path to top of SQUEEZEPLAY directories # -SRC_DIR = $(realpath ${PWD}) +SRC_DIR = $(realpath ${shell pwd}) BASE_DIR = $(dir ${SRC_DIR}) export BUILD_TOP=$(BASE_DIR)/build/linux @@ -143,7 +143,7 @@ cd luafilesystem-1.2 && make install PREFIX=${PREFIX} PLATFORM=linux luaprofiler: - cd luaprofiler-2.0 && make -f Makefile.linux install + cd luaprofiler-2.0 && LD="gcc -shared" make -f Makefile.linux install # just compile the library for to tolua++ .PHONY: tolua++