On 2003-07-15T13:03+0200, Bram Stolk wrote:
) I want to build a python module, which should be created as _foo.so
) However, automake/autoconf (as well as libtool) only let me create
) sharedobjects with a lib prefix: libfoo.so

Add -module to the LDFLAGS for that module, as in:

pkgmod_LTLIBRARIES = _pyper.la
_pyper_la_SOURCES = pyper.c
_pyper_la_LDFLAGS = -module -avoid-version @CYGWIN_LDFLAGS@

-- 
Daniel Reed <[EMAIL PROTECTED]> http://shell.n.ml.org/n/
The pursuit of pretty formulas and neat theorems can no doubt quickly degenerate into 
a silly vice, but so can the quest for austere generalities which are so very general 
indeed that they are incapable of application to any particular. -- Eric Temple Bell
http://site.n.ml.org/download/20030714161039/naim/naim-modules-0.0.0-2003-07-14-1610.tar.gz


Reply via email to