libtool
[Top][All Lists]
Advanced

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

Re: module name on mac os x


From: Vincent Torri
Subject: Re: module name on mac os x
Date: Thu, 22 Apr 2010 07:01:23 +0200 (CEST)



On Wed, 21 Apr 2010, Peter O'Gorman wrote:

On 04/21/2010 04:00 PM, Vincent Torri wrote:

Hey,

A guy mentioned that problem: on mac os x, a "standard" shared lib has
suffix name .dylib:

lib_LTLIBRARIES = libfoo.la  --> libfoo.dylib

but with a "module":

pkg_LTLIBRARIES = bar.la
bar_la_LDFLAGS = -module -avoid-version

then the name is bar.so and not bar.dylib

Is it a known behavior ? If so, is it a bug ?

Yes, it is known, no, it is not a bug.

         linux windows   mac
lib        so    dll     dylib
module     so    dll     so

mac is the only system where the module has a different name than a lib. Why ? That complicates things for nothing (we use shrext_cmds variable in autoconf as suffix of files that are dlopened).

Vincent Torri




reply via email to

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