diff options
author | huceke <gimli> | 2012-08-14 13:13:38 +0200 |
---|---|---|
committer | huceke <gimli> | 2012-08-14 13:13:38 +0200 |
commit | 8b6af545b317b5b0cd792f1c77e17cb95a60fe69 (patch) | |
tree | d358e790d6ce35c51345047a2fb909a3d48fc30f /lib | |
parent | acbfa940dc07911d1658ce16b06fa4b9e972eb35 (diff) |
[rbp] fixed libsquish native arm compile
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libsquish/Makefile.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libsquish/Makefile.in b/lib/libsquish/Makefile.in index f7b3cc1621..a549623430 100644 --- a/lib/libsquish/Makefile.in +++ b/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 |