[Top][All Lists]

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

Libtool head: test should use $(CFLAGS)

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


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/ (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/
in violation, as it compiles main.c and links ltdldemo in one

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


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

reply via email to

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