libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Libtool head: standalone.at test should use $(CFLAGS)


From: Peter Ekberg
Subject: Libtool head: standalone.at test should use $(CFLAGS)
Date: Thu, 25 Aug 2005 11:05:40 +0200

Hi,

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

2005-08-25  Peter Ekberg  <address@hidden>

        * 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

[Prev in Thread] Current Thread [Next in Thread]