Done.
-- David

On 01-Jan-2011 10:19 PM, Urias McCullough wrote:
> Below is a patch to remove the hardcoded -ldl from the libboinc
> Makefile so that it will compile on Haiku (Haiku has dlopen() and
> friends, but not in libdl).
>
> I tested the patch on Linux and it still picks up the lib anyway, so
> this must have either been a superfluous tweak, or was needed for a
> broken platform. Preferably this would be added with the automake
> LIBADD_DL or whatever anyway.
>
> Index: lib/Makefile.am
> ===================================================================
> --- lib/Makefile.am   (revision 22859)
> +++ lib/Makefile.am   (working copy)
> @@ -141,7 +141,7 @@
>   libboinc_la_CFLAGS = $(AM_CFLAGS) $(PICFLAGS) $(PTHREAD_CFLAGS)
>   libboinc_la_CXXFLAGS = $(AM_CXXFLAGS) $(PICFLAGS) $(PTHREAD_CFLAGS)
>   libboinc_la_LDFLAGS = -L$(libdir) -rpath $(libdir) -version-number
> $(LIBBOINC_VERSION)
> -libboinc_la_LIBADD = -ldl
> +libboinc_la_LIBADD =
>
>   libboinc_crypt_la_SOURCES = crypt.cpp
>   libboinc_crypt_la_CFLAGS = $(AM_CFLAGS) $(PICFLAGS) $(PTHREAD_CFLAGS)
>
> File is also attached.
>
> Hopefully someone can commit this for me :)
>
> - Urias
>
>
>
> _______________________________________________
> boinc_dev mailing list
> [email protected]
> http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
> To unsubscribe, visit the above URL and
> (near bottom of page) enter your email address.
_______________________________________________
boinc_dev mailing list
[email protected]
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.

Reply via email to