summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-05-18 23:22:24 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-05-18 23:22:24 (EDT)
commit69076cdc61b585cf9c051f7728bb2cbfbddc5fa5 (patch)
treeebee7208c454598710062dcbb9fafcc324e7e396
parent8ca33bc72fadb38d8f6f4d74a141bc3f4d10c0de (diff)
build: Put *.spec files in a versioned directory
-rwxr-xr-xbuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/build b/build
index 6ce3547..cc320f1 100755
--- a/build
+++ b/build
@@ -213,8 +213,9 @@ install-native:
link=$$(printf '%s\n' $${link} | sed 's|^.*/||;'); \
ln -sf ../../$${lib} $(destdir)$(tgtlibdir)/$${link}; \
done
- # Put *.o objects in a versioned directory.
- mv $(destdir)$(libdir)/*.o $(destdir)$(tgtlibdir)
+ # Put *.o and *.spec files in a versioned directory.
+ mv $(destdir)$(libdir)/*.o $(destdir)$(libdir)/*.spec \
+ $(destdir)$(tgtlibdir)
# Remove libitm files.
rm -f $(destdir)$(libdir)/libitm.*
# Remove libquadmath files.