aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/libva/files/patch-test-putsurface-Makefile.am
blob: 05be22a85587dfb67ad151536ee26e2926a2dd5a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- test/putsurface/Makefile.am~
+++ test/putsurface/Makefile.am
@@ -23,8 +23,9 @@
 bin_PROGRAMS = putsurface
 
 AM_CFLAGS = -I$(top_srcdir)/va -I$(top_srcdir)/src/x11
+AM_LDFLAGS = $(PTHREAD_LIBS)
 
-TEST_LIBS = $(top_builddir)/va/$(libvabackendlib) -lpthread
+TEST_LIBS = $(top_builddir)/va/$(libvabackendlib)
 
 putsurface_LDADD = $(TEST_LIBS)
 putsurface_SOURCES = putsurface.c