On Tue, Mar 21, 2006, Steffen Weinreich wrote:
> Added option for a build with shared libs
> [...]
> %option with_fsl yes
> %option with_perl no
> +%option with_shared no
> %option with_mib_host no
> %option with_mib_smux no
> %option with_mib_tables no
> @@ -160,7 +161,9 @@
> --with-persistent-directory=%{l_prefix}/var/snmp \
> --with-openssl=%{l_prefix} \
> --enable-silent-libtool \
> +%if "%{with_shared}" == "no"
> --disable-shared \
> +%endif
> %if "%{with_mib_host}" == "yes" || "%{with_mib_smux}" == "yes" ||
> "%{with_mib_sendmail}" == "yes"
> --with-mib-modules="$mibs" \
> %endif
> [...]
Sorry for the delayed response, but I was totally busy with other tasks.
I'm not convinced that this option is of general reusability, Steve. It
links all binaries of net-snmp against the shared libraries and this
breaks on those platforms which do not hard-code the path in the ELF
files. This breaks the stand-alone principle of OpenPKG as it doesn't
allow multiple instances to co-exist easily.
Ralf S. Engelschall
[EMAIL PROTECTED]
www.engelschall.com
______________________________________________________________________
The OpenPKG Project www.openpkg.org
Developer Communication List [email protected]