diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-05-15 02:29:28 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-05-15 02:29:28 (EDT) |
commit | f3ec62e6af22179e04ac73c9e8a54f8d23c3ba31 (patch) | |
tree | adf0edd95797ce689fe1a03f8b50b15e523fac01 /build | |
parent | 12342ddc3aeb1d7911a8fbf550e09ec74847807b (diff) |
Install libraries in standard libdir
Diffstat (limited to 'build')
-rwxr-xr-x | build | 13 |
1 files changed, 6 insertions, 7 deletions
@@ -65,7 +65,6 @@ bootstrap1_opts = \ --disable-libssp libdir = /usr/lib/$(OPK_HOST_ARCH) -gcclibdir = /usr/lib/$(OPK_HOST_ARCH)/gcc-$(base_version) tgtlibdir = /usr/lib/$(OPK_HOST_ARCH)/$(target)/gcc-$(base_version) tgtincdir = /usr/include/$(target)/c++-$(base_version) libsuffix = $$(g++ -print-multi-os-directory) @@ -182,17 +181,17 @@ $(installnative_targets): mkdir -p $(destdir)$(tgtlibdir) mv $(destdir)$(libdir)/gcc/$(target_gnu)/$(version)/* \ $(destdir)$(tgtlibdir) - mkdir -p $(destdir)$(gcclibdir) - mv $(destdir)$(libdir)/$(libsuffix)/* $(destdir)$(gcclibdir) + mkdir -p $(destdir)$(libdir) + mv $(destdir)$(libdir)/$(libsuffix)/* $(destdir)$(libdir) mkdir -p $(destdir)$(tgtincdir) mv $(destdir)/usr/include/c++-$(base_version)/$(target_gnu)/* \ $(destdir)$(tgtincdir) # Remove libquadmath files. - rm -f $(destdir)$(gcclibdir)/libquadmath.* + rm -f $(destdir)$(libdir)/libquadmath.* # Remove libtool archives and static libraries. rm -f \ - $(destdir)$(gcclibdir)/*.la \ - $(destdir)$(gcclibdir)/*.a \ + $(destdir)$(libdir)/*.la \ + $(destdir)$(libdir)/*.a \ $(destdir)$(tgtlibdir)/*.la \ $(destdir)$(tgtlibdir)/plugin/*.la # Remove the info directory node. @@ -206,7 +205,7 @@ $(installnative_targets): # target-specific?). rm -Rf $(destdir)$(tgtlibdir)/install-tools/ # TODO: Provide these files in a libstdc++-*-dbg package. - rm -f $(destdir)$(gcclibdir)/libstdc++.so.*-gdb.py + rm -f $(destdir)$(libdir)/libstdc++.so.*-gdb.py rm -Rf $(destdir)/usr/share/gcc-$(version)/python/libstdcxx/ # TODO: Provide these files in a doc package. rm -Rf $(destdir)/usr/share/man/ $(destdir)/usr/share/info/ |