Skip to content

Commit

Permalink
contrib: vulkan-loader: don't assume the build is static
Browse files Browse the repository at this point in the history
On Windows the build is never static. We should not
pretend it has built a static library.
  • Loading branch information
robUx4 committed Jan 11, 2025
1 parent 0a3fb61 commit 280e11a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions contrib/src/vulkan-loader/rules.mak
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ ifdef HAVE_WIN32
# CMake will generate a .pc file with -lvulkan even if the static library
# generated is libvulkan.dll.a. It also forget to link with libcfgmgr32.
sed -i.orig -e "s,-lvulkan,-lvulkan.dll -lcfgmgr32," $(BUILD_DIR)/loader/vulkan.pc
else
$(call pkg_static,"build/loader/vulkan.pc")
endif

+$(CMAKEBUILD)
Expand Down

0 comments on commit 280e11a

Please sign in to comment.