summaryrefslogtreecommitdiff
path: root/gmodule
diff options
context:
space:
mode:
Diffstat (limited to 'gmodule')
-rw-r--r--gmodule/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/gmodule/Makefile.am b/gmodule/Makefile.am
index 8d43225e1..c998d0b65 100644
--- a/gmodule/Makefile.am
+++ b/gmodule/Makefile.am
@@ -57,7 +57,7 @@ export_symbols = -export-symbols $(srcdir)/gmodule.def
install-libtool-import-lib:
# Don't put the binary compatibility entries in the import lib!
for entry in `grep PRIVATE gmodule.def | sed -e 's/PRIVATE//'`; do \
- file=`nm -A .libs/libgmodule-2.0.dll.a | tr -d '\r' | grep -m 1 -E $$entry'$$' | cut -d: -f2`; \
+ file=`nm -A .libs/libgmodule-2.0.dll.a | tr -d '\r' | grep -E $$entry'$$' | head -n 1 | cut -d: -f2`; \
ar d .libs/libgmodule-2.0.dll.a $$file; \
done
$(INSTALL) .libs/libgmodule-2.0.dll.a $(DESTDIR)$(libdir)