[PATCH] Use multiarch library dirs and remove info index (Was: gmp should use multiarch library directories)

David,

I'm applying this patch to gmp in the core-linux-eglibc bootstrap.

Feel free to apply it to the /pkg/gmp.git repository.

Thanks.

---
 build                |    3 ++-
 libgmp-dev.pkg/files |    4 ++--
 libgmp.10.pkg/files  |    4 ++--
 3 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/build b/build
index e735c97..ac92e45 100755
--- a/build
+++ b/build
@@ -16,5 +16,6 @@ install: build
 	oh-autoinstall
 	oh-fixperms
 	oh-strip
-	rm -rf dest/usr/lib/libgmp.la
+	rm -rf dest/usr/lib/$(OPK_HOST_ARCH)/libgmp.la
+	rm dest/usr/share/info/dir
 	oh-installfiles
diff --git a/libgmp-dev.pkg/files b/libgmp-dev.pkg/files
index 6b48068..67703d0 100644
--- a/libgmp-dev.pkg/files
+++ b/libgmp-dev.pkg/files
@@ -1,3 +1,3 @@
 /usr/include/gmp.h
-/usr/lib/libgmp.a
-/usr/lib/libgmp.so
+/usr/lib/*/libgmp.a
+/usr/lib/*/libgmp.so
diff --git a/libgmp.10.pkg/files b/libgmp.10.pkg/files
index 3c2304d..ed7e421 100644
--- a/libgmp.10.pkg/files
+++ b/libgmp.10.pkg/files
@@ -1,2 +1,1 @@
-/usr/lib/libgmp.so.10
-/usr/lib/libgmp.so.10.0.5
+/usr/lib/*/libgmp.so.*
-- 
Patrick "P. J." McDermott
http://www.pehjota.net/
http://www.pehjota.net/contact.html