mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 07:23:41 +02:00
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.
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user