[Mesa-dev] [PATCH] i965: Link test program with -ldl.

Eric Anholt eric at anholt.net
Tue Nov 12 15:02:46 PST 2013


Matt Turner <mattst88 at gmail.com> writes:

> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=71512
> ---
>  src/mesa/drivers/dri/i965/Makefile.am | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/src/mesa/drivers/dri/i965/Makefile.am b/src/mesa/drivers/dri/i965/Makefile.am
> index 8c0f9a3..6bce3c1 100644
> --- a/src/mesa/drivers/dri/i965/Makefile.am
> +++ b/src/mesa/drivers/dri/i965/Makefile.am
> @@ -48,6 +48,7 @@ TEST_LIBS = \
>  	../common/libmegadriver_stub.la \
>  	$(DRI_LIB_DEPS) \
>          ../../../libmesa.la \
> +	$(DLOPEN_LIBS) \
>          -lrt \
>  	../common/libdri_test_stubs.la


DLOPEN_LIBS should already be part of DRI_LIB_DEPS.  Can we just move
DRI_LIB_DEPS after libmesa.la?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20131112/265ac21a/attachment.pgp>


More information about the mesa-dev mailing list