* mdemo/Makefile.am: Mark only libfoo2 as -no-undefined.

Explicitly link it with libsub.la.
This commit is contained in:
Alexandre Oliva 2000-09-04 08:10:02 +00:00
parent 85583b7577
commit 61e1e15004
2 changed files with 5 additions and 2 deletions

View File

@ -1,5 +1,8 @@
2000-09-04 Alexandre Oliva <aoliva@redhat.com>
* mdemo/Makefile.am: Mark only libfoo2 as -no-undefined.
Explicitly link it with libsub.la.
* ltconfig.in (need_lc): Preserve allow_undefined_flag.
* tests/*.test (CONFIG_SITE): Ultrix's /bin/sh fails on

View File

@ -10,10 +10,10 @@ lib_LTLIBRARIES = foo1.la libfoo2.la libsub.la
foo1_la_SOURCES = foo1.c
foo1_la_LIBADD = $(LIBM)
foo1_la_LDFLAGS = -no-undefined -module -avoid-version
foo1_la_LDFLAGS = -module -avoid-version
libfoo2_la_SOURCES = foo2.c
libfoo2_la_LIBADD = $(LIBM)
libfoo2_la_LIBADD = $(LIBM) libsub.la
libfoo2_la_LDFLAGS = -no-undefined -module -export-symbols-regex "libfoo2.*"
libsub_la_SOURCES = sub.c