diff options
author | Jonathan Gray <[email protected]> | 2015-01-09 12:33:17 +1100 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2015-01-22 22:27:12 +0000 |
commit | a3381286d81b60859db0c8b26ed85d6732b7f51d (patch) | |
tree | e1f16b385894a5561d39466a6656341807a35ffe /src | |
parent | 882f702441c6601589bdef805a9157cb113b91dd (diff) |
glsl: Link glsl_test with pthreads library.
Otherwise pthread_mutex_lock will be an undefined reference
on OpenBSD.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=88219
Signed-off-by: Jonathan Gray <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Cc: "10.4 10.3" <[email protected]>
(cherry picked from commit c5be9c126d6ca9380cd381a5eb22554e4bb71a64)
Diffstat (limited to 'src')
-rw-r--r-- | src/glsl/Makefile.am | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/glsl/Makefile.am b/src/glsl/Makefile.am index 0ccc81d752d..43d070207e0 100644 --- a/src/glsl/Makefile.am +++ b/src/glsl/Makefile.am @@ -137,7 +137,9 @@ glsl_test_SOURCES = \ test.cpp \ test_optpass.cpp -glsl_test_LDADD = libglsl.la +glsl_test_LDADD = \ + libglsl.la \ + $(PTHREAD_LIBS) # We write our own rules for yacc and lex below. We'd rather use automake, # but automake makes it especially difficult for a number of reasons: |