aboutsummaryrefslogtreecommitdiff
path: root/tools/depends/target/libshairplay
diff options
context:
space:
mode:
authorMemphiz <memphis@machzwo.de>2013-06-04 13:59:00 +0200
committerMemphiz <memphis@machzwo.de>2013-06-04 19:05:57 +0200
commit95d5f80ed1c5376190eceea3e2cc2aa8d1f0b69a (patch)
tree08169e965b65dd369de8f46c78006fa464bc65ba /tools/depends/target/libshairplay
parentb354f05c8952a81dff267eaf23915db7a55244d4 (diff)
[droid] - fix libshairplay and activate build for android
Diffstat (limited to 'tools/depends/target/libshairplay')
-rw-r--r--tools/depends/target/libshairplay/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/depends/target/libshairplay/Makefile b/tools/depends/target/libshairplay/Makefile
index 7665015564..991ec805dc 100644
--- a/tools/depends/target/libshairplay/Makefile
+++ b/tools/depends/target/libshairplay/Makefile
@@ -29,6 +29,13 @@ $(LIBDYLIB): $(PLATFORM)
.installed-$(PLATFORM): $(LIBDYLIB)
$(MAKE) -C $(PLATFORM) install
+ifeq ($(OS),android)
+ rm -f $(PREFIX)/lib/libshairplaylibshairplay.la $(PREFIX)/lib/libshairplay.so $(PREFIX)/lib/libshairplay.so.0
+ mv -f $(PREFIX)/lib/libshairplay.so.0.0.0 $(PREFIX)/lib/libshairplay.so
+ $(RPL) -e "libshairplay.so.0" "libshairplay.so\x00\x00" $(PREFIX)/lib/libshairplay.so
+ -$(READELF) --dynamic $(PREFIX)/lib/libshairplay.so | grep ibrary
+endif
+
touch $@
clean: