From 755e368f6bddc25cc271965075fc454c78f5eb92 Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Thu, 15 Jun 2017 16:16:09 +0200 Subject: [PATCH] build: Explicitly link the demos with libvulkan. Since demos/demo_xcb.h uses vkCreateXcbSurfaceKHR(). At least some (2.4.6) versions of libtool seem to pull libvulkan in automatically through libvkd3d, but mine (2.4.2) doesn't. --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index dab3c1c6..dc8df82a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -91,7 +91,7 @@ AM_DEFAULT_SOURCE_EXT = .c TESTS = $(vkd3d_tests) tests_d3d12_LDADD = $(LDADD) @PTHREAD_LIBS@ -DEMOS_LDADD = libvkd3d.la $(LDADD) @XCB_LIBS@ +DEMOS_LDADD = libvkd3d.la $(LDADD) @XCB_LIBS@ @VULKAN_LIBS@ DEMOS_CFLAGS = @XCB_CFLAGS@ noinst_PROGRAMS = $(vkd3d_demos) EXTRA_DIST += $(vkd3d_demos_headers)