summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2002-03-03 03:01:21 +0000
committerOwen Taylor <otaylor@src.gnome.org>2002-03-03 03:01:21 +0000
commit3e1fccd014c609f972bcfe002bb03b904d239e2d (patch)
tree9bb573f167798a80cd39e63d819af3ec87fa7d71 /examples
parentcd9e68bea720226c840cdf0babfd3f465f027aed (diff)
downloadpango-3e1fccd014c609f972bcfe002bb03b904d239e2d.tar.gz
Write examples/pango.modules in terms of .la files rather than direct
Sat Mar 2 21:57:55 2002 Owen Taylor <otaylor@redhat.com> * examples/Makefile.am (pango.modules): Write examples/pango.modules in terms of .la files rather than direct shared objects to avoid having to know soname extension. * pango/querymodules.c (main): Use G_MODULE_SUFFIX or .la to compare with filenames when querying modules, rather than hardcoded .so/.la. * configure.in (USE_LA_MODULES): On aix, load .la files since we can't guess the soname extension.
Diffstat (limited to 'examples')
-rw-r--r--examples/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/Makefile.am b/examples/Makefile.am
index 8d2fabfb..a17442cc 100644
--- a/examples/Makefile.am
+++ b/examples/Makefile.am
@@ -46,7 +46,7 @@ pango.modules:
if find ../modules -name '*.so' | grep 'so' > /dev/null ; then \
echo "Writing a pango.modules file to use when running examples before installing Pango."; \
(cd ../modules && \
- ../pango/pango-querymodules `find . -name '*.so'` > ../examples/pango.modules ) ;\
+ ../pango/pango-querymodules `find . -name '*.la' | grep -v \.libs` > ../examples/pango.modules ) ;\
else \
echo "No dynamic modules found; will use only static modules for uninstalled example programs."; \
touch pango.modules; \