From 237e296493d295647a6fbdb02e84f8f4c2a1c810 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 18 Feb 2018 20:11:37 +0100 Subject: kodi: add aac workaround from Debian --- package/kodi/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'package/kodi/Makefile') diff --git a/package/kodi/Makefile b/package/kodi/Makefile index 7b60a3f5d..e18933812 100644 --- a/package/kodi/Makefile +++ b/package/kodi/Makefile @@ -161,6 +161,10 @@ pre-configure: cp $(WRKBUILD)/../../tools/depends/native/TexturePacker/TexturePacker \ $(STAGING_HOST_DIR)/usr/bin +pre-build: + $(TARGET_CC) -shared -fPIC -o $(WRKBUILD)/kodi-shim.so \ + ./files/kodi-shim.c + kodi-install: $(INSTALL_DIR) $(STAGING_TARGET_DIR)/usr/share/kodi $(CP) $(WRKINST)/usr/share/kodi/* \ @@ -178,5 +182,7 @@ kodi-install: $(IDIR_KODI)/usr/bin $(INSTALL_BIN) $(WRKINST)/usr/bin/kodi \ $(IDIR_KODI)/usr/bin + $(CP) $(WRKBUILD)/kodi-shim.so \ + $(IDIR_KODI)/usr/lib/kodi include ${ADK_TOPDIR}/mk/pkg-bottom.mk -- cgit v1.2.3