automake
[Top][All Lists]
Advanced

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

Re: Want "make check" to test shared, static lib


From: Christian Rössel
Subject: Re: Want "make check" to test shared, static lib
Date: Wed, 20 Nov 2013 09:08:16 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0

Torbjörn,

On 11/13/2013 06:45 PM, Torbjorn Granlund wrote:
We in the GMP project would like to have "make check" run through our
testsuite for both the static and shared libs (when both are built).

We haven't been able to achive this.  Please help.

assuming that you are using libtool, just configure twice, with '--enable-static --disable-shared' and '--disable-static --enable-shared' respectively. Maybe this is not the solution you are looking for, but it is an easy workaround that is trivial to automate; and you don't have to touch any Makefile.am.

Hope that helps,
Christian

Torbjörn





reply via email to

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