summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-04-22 21:32:19 (EDT)
committer P. J. McDermott <pjm@nac.net>2013-04-22 21:32:19 (EDT)
commit40a1f2a089462a3f8ad5b44c49d4db5727454d63 (patch)
treea0baa042e3403df4c7bce8f2ff6167db0cd05a35
parentf4ced4ab6fd3d0fb381ca86c02d1089a7b529e66 (diff)
build: Fix paths to .la files.
libdir is a shell parameter, not a make macro.
-rwxr-xr-xbuild22
1 files changed, 11 insertions, 11 deletions
diff --git a/build b/build
index f3e182b..7404966 100755
--- a/build
+++ b/build
@@ -160,18 +160,18 @@ $(install_targets): build
mv $(destdir)/usr/lib/$(target)/libitm.a \
$(destdir)/usr/lib/$(target)/gcc-$(base_version)/
# Remove libtool archives.
- libdir=usr/lib/$(target) && \
+ libdir=/usr/lib/$(target) && \
rm -f \
- $(destdir)/$(libdir)/libmudflap.la \
- $(destdir)/$(libdir)/libmudflapth.la \
- $(destdir)/$(libdir)/libssp.la \
- $(destdir)/$(libdir)/libssp_nonshared.la \
- $(destdir)/$(libdir)/gcc-$(base_version)/liblto_plugin.la \
- $(destdir)/$(libdir)/libquadmath.la \
- $(destdir)/$(libdir)/libgomp.la \
- $(destdir)/$(libdir)/libitm.la \
- $(destdir)/$(libdir)/libstdc++.la \
- $(destdir)/$(libdir)/libsupc++.la
+ $(destdir)$${libdir}/libmudflap.la \
+ $(destdir)$${libdir}/libmudflapth.la \
+ $(destdir)$${libdir}/libssp.la \
+ $(destdir)$${libdir}/libssp_nonshared.la \
+ $(destdir)$${libdir}/gcc-$(base_version)/liblto_plugin.la \
+ $(destdir)$${libdir}/libquadmath.la \
+ $(destdir)$${libdir}/libgomp.la \
+ $(destdir)$${libdir}/libitm.la \
+ $(destdir)$${libdir}/libstdc++.la \
+ $(destdir)$${libdir}/libsupc++.la
# Remove the info directory node.
rm -f $(destdir)/usr/share/info/dir
# Remove empty documentation files.