autoconf
[Top][All Lists]
Advanced

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

Re: Multi options library


From: Ralf Corsepius
Subject: Re: Multi options library
Date: Mon, 03 Sep 2007 10:09:23 +0200

On Sun, 2007-09-02 at 11:53 +0200, Roman Rumisek wrote:
> Exists easy way to build multi option libraries (for example: with/without
> debug feature) into different library names (for example:
> liba_d.so and liba.so)?

The easiest way is to build a package multiple times (once per variant),
with different paths and CFLAGS.

e.g.

configure --libdir=/usr/lib/debug CFLAGS=-g
...
configure --libdir=/usr/lib CFLAGS=....
...

Ralf






reply via email to

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