summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index a4069dd..1188e78 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -34,7 +34,12 @@ pgo:
$(MAKE) $(AM_MAKEFLAGS) -C libdimension libdimension-pgo.la && \
$(MAKE) $(AM_MAKEFLAGS) -C tests/libdimension check; \
fi
- @rename _pgo_la _la $$(find $(top_builddir)/libdimension/pgo/.libs/)
+ @for pgo in $(top_builddir)/libdimension/pgo/.libs/*; do \
+ replacement="$${pgo/_pgo_la/_la}"; \
+ if [ "$$pgo" != "$$replacement" ]; then \
+ mv "$$pgo" "$$replacement"; \
+ fi \
+ done
all-recursive check-recursive install-recursive installcheck-recursive distdir: pgo