From: Alexandre Oliva Date: Mon, 4 Sep 2000 08:10:02 +0000 (+0000) Subject: * mdemo/Makefile.am: Mark only libfoo2 as -no-undefined. X-Git-Tag: release-1-3d~111 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=61e1e150049766016dff3724bfe20151f4ba64b5;p=thirdparty%2Flibtool.git * mdemo/Makefile.am: Mark only libfoo2 as -no-undefined. Explicitly link it with libsub.la. --- diff --git a/ChangeLog b/ChangeLog index 364a124e0..65ca5e40d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2000-09-04 Alexandre Oliva + * 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 diff --git a/mdemo/Makefile.am b/mdemo/Makefile.am index e721c721d..0453e9f04 100644 --- a/mdemo/Makefile.am +++ b/mdemo/Makefile.am @@ -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