diff --git a/recipes/glslang/recipe.py b/recipes/glslang/recipe.py index c1a4d16..680ef23 100644 --- a/recipes/glslang/recipe.py +++ b/recipes/glslang/recipe.py @@ -60,7 +60,7 @@ def _git_cook(env: Environment, repo, options: dict = {}) -> dict: if enable_hlsl: additional_cppdefines.append('ENABLE_HLSL=1') - env.StaticLibrary( + lib_glslang_full = env.StaticLibrary( CCFLAGS = env['CCFLAGS'] + additional_cxx_flags, CPPPATH = repo['checkout_root'], CPPDEFINES = list(env['CPPDEFINES']) + additional_cppdefines, @@ -84,7 +84,7 @@ def _git_cook(env: Environment, repo, options: dict = {}) -> dict: return { 'CPPPATH': [include_dir], - 'LIBS': [os.path.join(env['LIB_DIR'], env.LibFilename('glslang_full'))] + 'LIBS': [lib_glslang_full] }