2009/10/6 Ludovic Rousseau <[email protected]>:
> 2009/10/6 Diego Elio “Flameeyes” <[email protected]>:
>> Il giorno Tue, 06/10/2009 alle 10.10 +0200, Ludovic Rousseau ha scritto:

>>> If you do not want the static libs (and I guess nobody will use them)
>>> you should use:
>>> ./configure --disable-static
>>> I don't know if you can configure configure.in to use --disable-static
>>> by default.
>>
>> Well, as a matter of fact, you can:
>>
>> AC_PROG_LIBTOOL([disable-static])
>>
>> or, for newer libtool
>>
>> LT_INIT([disable-static])
>
> Thanks for the info.

I found a better/other way [1] to disable building of a static library
by default.
Just add AM_DISABLE_STATIC in configure.in

The advantage over using -shared is that you can still generate a
static library using ./configure --enable-static

Bye

[1] http://www.nondot.org/sabre/Mirrored/libtool-2.1a/libtool_5.html#SEC28

-- 
 Dr. Ludovic Rousseau
_______________________________________________
opensc-devel mailing list
[email protected]
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to