summaryrefslogtreecommitdiff
path: root/gmodule
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2005-01-11 20:39:00 +0000
committerOwen Taylor <otaylor@src.gnome.org>2005-01-11 20:39:00 +0000
commitde67d93121817854c322094f7b327c5c8859f1ad (patch)
tree5d7e5069596715a5731036db5b6e818e6d5373a4 /gmodule
parentbb2a51ab7b732f95bab9779b6268a0392beecd60 (diff)
Add gmodule-export-2.0.pc to AC_CONFIG_FILES.
2005-01-11 Owen Taylor <otaylor@redhat.com> * configure.in: Add gmodule-export-2.0.pc to AC_CONFIG_FILES. * glib/Makefile.am gobject/Makefile.am gthread/Makefile.am: Use grep | head -n 1 instead of grep -m 1 which doesn't work with slightly older versions of GNU grep in install-libtool-import-lib rule.
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)