rm macos broke build - what is that libtool-bundle?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

rm macos broke build - what is that libtool-bundle?

Andreas Jellinghaus-2
Hi,

martin removed macos/ directory, assuming it is not needed.
I can fix the Makefiles to not refer to it, but I don't know
what libtool-bundle is and how to handle it.

see src/pkcs11/Makefile.am:

install-exec-local: install-libLTLIBRARIES
if HAVE_BUNDLES
        -${top_srcdir}/macos/libtool-bundle
$(DESTDIR)$(libdir)/opensc-pkcs11.so
 \
                $(DESTDIR)$(bundledir)/
        -${top_srcdir}/macos/libtool-bundle $(DESTDIR)$(libdir)/pkcs11-spy.so
\
                $(DESTDIR)$(bundledir)/
endif

uninstall-local: uninstall-libLTLIBRARIES
if HAVE_BUNDLES
        rm -rf $(DESTDIR)$(bundledir)/opensc-pkcs11.bundle/
        rm -rf $(DESTDIR)$(bundledir)/pkcs11-spy.bundle/
endif

I have no idea what that does or why it is needed.

Could anyone enlighten me?

Thanks.

Regards, Andreas
_______________________________________________
opensc-devel mailing list
[hidden email]
http://www.opensc.org/cgi-bin/mailman/listinfo/opensc-devel
Reply | Threaded
Open this post in threaded view
|

Re: rm macos broke build - what is that libtool-bundle?

Martin Paljak
On 9/21/05, Andreas Jellinghaus <[hidden email]> wrote:
> Hi,
>
> martin removed macos/ directory, assuming it is not needed.
> I can fix the Makefiles to not refer to it, but I don't know
> what libtool-bundle is and how to handle it.

It is a quick hack to create a bundle for osx. A 'bundle' could mean
many things, it's basically just a wrapper (as a directory) around
several files that form a logical whole. I don't see any point in
having a single .so (we could name it .dylib on osx) being wrapped
inside a bundle. Main consumers on osx (mozillas) work perfectly well
with a .so only.

For example pcsc-lite uses drivers as bundles.

> I have no idea what that does or why it is needed.
Me neither.

--
Martin Paljak
[hidden email]
http://martin.paljak.pri.ee/
+372.5156495 - phone
_______________________________________________
opensc-devel mailing list
[hidden email]
http://www.opensc.org/cgi-bin/mailman/listinfo/opensc-devel