Permalink
Browse files

[rbp] fixed libsquish native arm compile

  • Loading branch information...
1 parent acbfa94 commit 8b6af545b317b5b0cd792f1c77e17cb95a60fe69 huceke committed Aug 14, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/libsquish/Makefile.in
@@ -33,6 +33,8 @@ all: $(LIB) $(NATIVE_LIB)
$(NATIVE_LIB): $(SRCS)
ifeq ($(findstring Darwin,$(shell uname -s)),Darwin)
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

0 comments on commit 8b6af54

Please sign in to comment.