view docs/howto-static-linking @ 363:02bc0331e390

Removed support for openssl linking It had been rarely used and could have caused legal problems. For explanations, see this mail message: Date: Sun, 04 Sep 2011 17:35:23 +0200 From: markus schnalke <meillo@marmaro.de> To: masqmail@marmaro.de Subject: [masqmail] RFC: Removal of configure options Message-ID: <1R0EjD-4aX-00@serveme.home.schnalke.org>
author markus schnalke <meillo@marmaro.de>
date Wed, 14 Sep 2011 12:07:34 +0200
parents 5cecc214afc9
children
line wrap: on
line source

Howto link masqmail statically?
-------------------------------

With gcc (don't know anything about other compilers), you simply
build masqmail with:

	LDFLAGS=-static make -e


On Debian GNU/Linux, I received a bunch warnings of that kind:

	interface.o: In function `init_sockaddr':
	interface.c:55: warning: Using 'gethostbyname' in statically
	linked applications requires at runtime the shared libraries
	from the glibc version used for linking

On NetBSD I no warnings were printed.

I don't have enough knowledge to tell the reasons and implications.
Maybe you can.



meillo