Skip to content

Commit

Permalink
build: Only look for the llvm headers when building airconv for Windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sbte authored and 3Shain committed Dec 23, 2024
1 parent ac956ea commit f289e5a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/airconv/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ llvm_ld_flags = [
'-L'+join_paths(meson.source_root(), 'toolchains/llvm/lib')
]

llvm_include_path = include_directories('../../toolchains/llvm/include') # FIXME: in favor of path relative to project

airconv_forward_dep = declare_dependency(
include_directories : [ dxmt_include_path, include_directories('.') ],
)
Expand All @@ -47,6 +45,8 @@ build_airconv_for_windows = get_option('build_airconv_for_windows')

if build_airconv_for_windows

llvm_include_path = include_directories('../../toolchains/llvm/include') # FIXME: in favor of path relative to project

airconv_lib = static_library('airconv', airconv_src,
include_directories : [ dxmt_include_path, llvm_include_path ],
cpp_args : llvm_cxx_flags,
Expand Down

0 comments on commit f289e5a

Please sign in to comment.