aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorfuzzard <fuzzard@kodi.tv>2022-05-15 07:36:42 +1000
committerfuzzard <fuzzard@kodi.tv>2022-05-15 07:36:42 +1000
commit686a8dc640ca990e365848695bf3339d9f6512d3 (patch)
treebc6064a738c3e718a4932f1972adf00625d56eed /tools
parent2a8a013202aa9db21c7ad088827a64314450c83d (diff)
[tools/depends][target] libuuid fix common failure due to path creation
Fix a common failure that is caused to to the makefile install target not creating the include/uuid directly before installing the include files. cd aarch64-linux-android-30-debug/lib/uuid ; /Applications/Xcode.app/Contents/Developer/usr/bin/make -j1 install MKDIR_P /Users/Shared/xbmc-depends/aarch64-linux-android-30-debug/lib /Users/Shared/xbmc-depends/aarch64-linux-android-30-debug/include/uuid /Users/Shared/xbmc-depends/aarch64-linux-android-30-debug/share/man/man3 INSTALL_DATA /Users/Shared/xbmc-depends/aarch64-linux-android-30-debug/lib/libuuid.a INSTALL_DATA /Users/Shared/xbmc-depends/aarch64-linux-android-30-debug/include/uuid/uuid.h install: /Users/Shared/xbmc-depends/aarch64-linux-android-30-debug/include/uuid/uuid.h: No such file or directory make[3]: *** [install] Error 71 make[2]: *** [.installed-aarch64-linux-android-30-debug] Error 2 make[1]: *** [libuuid] Error 2
Diffstat (limited to 'tools')
-rw-r--r--tools/depends/target/libuuid/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/depends/target/libuuid/Makefile b/tools/depends/target/libuuid/Makefile
index f8119c2c8a..5f5a24a849 100644
--- a/tools/depends/target/libuuid/Makefile
+++ b/tools/depends/target/libuuid/Makefile
@@ -18,6 +18,9 @@ all: .installed-$(PLATFORM)
$(PLATFORM): $(TARBALLS_LOCATION)/$(ARCHIVE).$(HASH_TYPE) $(DEPS)
rm -rf $(PLATFORM)/*; mkdir -p $(PLATFORM)
cd $(PLATFORM); $(ARCHIVE_TOOL) $(ARCHIVE_TOOL_FLAGS) $(TARBALLS_LOCATION)/$(ARCHIVE)
+ # e2fsprog libuuid often fails because it doesnt create include/uuid location before
+ # installing. lets just create it and move on.
+ mkdir -p $(PREFIX)/include/uuid
cd $(PLATFORM); ./configure --prefix=$(PREFIX) --disable-fsck --enable-libuuid
$(LIBDYLIB): $(PLATFORM)