[Top][All Lists]

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

Defines dependent on static/dynamic build

From: Bob Friesenhahn
Subject: Defines dependent on static/dynamic build
Date: Mon, 24 Nov 2003 18:55:19 -0600 (CST)

I am faced with building some existing code that wants to have
__STATIC__ defined while building a static library, and __DYNAMIC__
defined while building a shared library.  Since only libtool knows
what it is doing and libtool will make its own decisions, this seems
difficult to accomplish using libtool.  Perhaps this could be
accomplished by modifying libtool's 'pic_flag' variable.

I seem to recall that libtool used to define something when compiling
a shared library, but that this support was removed.  Presumably this
was because there was some other way to accomplish the same thing.

Does anyone know of a way to get libtool to behave the way I need?

Bob Friesenhahn

reply via email to

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