automake
[Top][All Lists]
Advanced

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

Re: shared libraries with used defined extension


From: Peter O'Gorman
Subject: Re: shared libraries with used defined extension
Date: Wed, 20 May 2009 08:47:17 -0500
User-agent: Thunderbird 2.0.0.19 (X11/20090105)

Andreas Otto wrote:

> 
>    Python requires the postfix *.pyd as shared library extension

.so .dll etc. work fine with python too.

> 
> 
>    Question: it is possible to use it own shared library extension
> 
>    using automake, autoconf, libtool ...

Use libtool's -shrext flag. e.g.

libfoo_la_LDFLAGS = -module -shrext ".pyd"

Peter
-- 
Peter O'Gorman
http://pogma.com




reply via email to

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