From 5c1a9410898f6180777dc20553bddcfe47f4c486 Mon Sep 17 00:00:00 2001
From: P. J. McDermott <pjm@nac.net>
Date: Thu, 04 Apr 2013 13:19:52 -0400
Subject: build: Fix the file mode of the ELF interpreter.

---
diff --git a/build b/build
index aa7adcb..430de02 100755
--- a/build
+++ b/build
@@ -115,6 +115,9 @@ install-locales: build-locales
 install: install-libc install-locales
 	oh-fixperms
 	oh-strip -k
+	# oh-fixperms changes the mode of the ELF interpreter, which is one
+	# shared object that must be executable.
+	chmod a+x 'dest/lib/$(OPK_HOST_ARCH)/ld-'*.so
 	oh-installfiles
 
 clean-libc:
--
cgit v0.9.1