From 40a1f2a089462a3f8ad5b44c49d4db5727454d63 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Mon, 22 Apr 2013 21:32:19 -0400 Subject: build: Fix paths to .la files. libdir is a shell parameter, not a make macro. --- 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. -- cgit v0.9.1