Hi,

I discovered a linking problem in the testsuite with my MSVC
patch, and have found the attached solution...

2005-08-25  Peter Ekberg  <[EMAIL PROTECTED]>

        * tests/standalone.at: (without autotools): Add
        $(CFLAGS) to LTCOMPILE and LTLINK.



Also, another comment on this test, regarding the following
exchange from the past between me and Ralf:

P: So, the only way to use -TP and -TC is to always compile first
P: (with -c switch) and then link. I think libtool always does it
P: this way so that may not be a problem?

R: Yes, libtool requires separated modes for compilation and
R: linking.

Isn't the following Makefile snippet from tests/standalone.at
in violation, as it compiles main.c and links ltdldemo in one
go?

ltdldemo: $(LIBTOOL) module.la libltdl/libltdlc.la main.c
        $(LTLINK) -o ltdldemo main.c -dlopen module.la
./libltdl/libltdlc.la

Cheers,
Peter

Attachment: head-standalone-flags.patch
Description: head-standalone-flags.patch

Reply via email to