summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-05-15 12:49:31 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-05-15 12:49:31 (EDT)
commit51e31f0e2e35bd24015234efa67d598463034632 (patch)
tree8c535f7322895844752655b92f5ba8d89b953f22
parentd36d5da5c7db901756b89978fe253d2fe512b1b5 (diff)
libgcc.1: Put libgcc_s.so.1 back under /lib
-rwxr-xr-xbuild3
-rw-r--r--libgcc.1.pkg/files2
2 files changed, 4 insertions, 1 deletions
diff --git a/build b/build
index a14dd38..91a4360 100755
--- a/build
+++ b/build
@@ -186,6 +186,9 @@ $(installnative_targets):
mkdir -p $(destdir)$(tgtincdir)
mv $(destdir)/usr/include/c++-$(base_version)/$(target_gnu)/* \
$(destdir)$(tgtincdir)
+ # Put libgcc_s.so.* under /lib.
+ mkdir -p $(destdir)/lib/$(OPK_HOST_ARCH)
+ mv $(destdir)$(libdir)/libgcc_s.so.* $(destdir)/lib/$(OPK_HOST_ARCH)
# Remove libitm files.
rm -f $(destdir)$(libdir)/libitm.*
# Remove libquadmath files.
diff --git a/libgcc.1.pkg/files b/libgcc.1.pkg/files
index 55dfc2f..fc571ac 100644
--- a/libgcc.1.pkg/files
+++ b/libgcc.1.pkg/files
@@ -1 +1 @@
-/usr/lib/*/libgcc_s.so.1
+/lib/*/libgcc_s.so.1