--- xbmc/lib/libsquish/Makefile.in.orig 2012-07-11 12:23:31.000000000 +0200 +++ xbmc/lib/libsquish/Makefile.in 2012-07-19 18:30:36.000000000 +0200 @@ -33,6 +33,8 @@ $(NATIVE_LIB): $(SRCS) ifeq ($(findstring osx,$(ARCH)),osx) g++ $(NATIVE_ARCH) -DSQUISH_USE_SSE=2 -msse2 -I. $(SRCS) -dynamiclib -install_name `pwd`/libsquish-native.so -o $@ +else ifeq ($(findstring arm,$(ARCH)),arm) + g++ -I. $(SRCS) -shared -fPIC -Wl,-soname,`pwd`/libsquish-native.so -o $@ else g++ -DSQUISH_USE_SSE=2 -msse2 -I. $(SRCS) -shared -fPIC -Wl,-soname,`pwd`/libsquish-native.so -o $@ endif