diff options
author | Memphiz <memphis@machzwo.de> | 2015-12-21 10:02:05 +0100 |
---|---|---|
committer | Memphiz <memphis@machzwo.de> | 2016-01-06 15:52:05 +0100 |
commit | 24bb7676310cce8d6622be9f2be5f892d9713b18 (patch) | |
tree | 345cb36f9e0dfd3a80c821efb5f66baf910fc37b /tools/depends/target/boblight/Makefile | |
parent | 8cb8190872c6d87bd193ed5a3e207907b67e9ddf (diff) |
[depends/boblight] - fix compilation for tvos (arm64/bitcode) and build and deploy libboblight by default for tvos
Diffstat (limited to 'tools/depends/target/boblight/Makefile')
-rw-r--r-- | tools/depends/target/boblight/Makefile | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/depends/target/boblight/Makefile b/tools/depends/target/boblight/Makefile index bd961ec622..a5a0220f29 100644 --- a/tools/depends/target/boblight/Makefile +++ b/tools/depends/target/boblight/Makefile @@ -32,6 +32,11 @@ $(PLATFORM): $(TARBALLS_LOCATION)/$(ARCHIVE) $(DEPS) cd $(PLATFORM); patch -p0 < ../02-fixandroid.patch cd $(PLATFORM); autoreconf -vif cd $(PLATFORM); $(CONFIGURE) +ifeq ($(CPU),arm64) + cd $(PLATFORM); patch -p0 < ../03-fixtvos.patch + cd $(PLATFORM); sed -ie "s|-bind_at_load||" ./libtool + cd $(PLATFORM); sed -ie "s|-bind_at_load||" ./ltmain.sh +endif $(LIBDYLIB): $(PLATFORM) $(MAKE) -C $(PLATFORM) @@ -43,7 +48,14 @@ ifeq ($(OS),android) $(RPL) -e "libboblight.so.0" "libboblight.so\x00\x00" $(PLATFORM)/src/.libs/libboblight.so -$(READELF) --dynamic $(PLATFORM)/src/.libs/libboblight.so | grep ibrary endif +ifeq ($(OS),ios) +ifeq ($(TARGET_PLATFORM),appletvos) + #deploy into source tree for tvos - we distribute libboblight with the bundle... + cp $(PLATFORM)/src/.libs/libboblight.0.dylib $(XBMCROOT)/system/libboblight-tvos.0.dylib +endif +else echo "libboblight isn't a dependency of XBMC and won't be installed" +endif touch $@ clean: $(MAKE) -C $(PLATFORM) clean |