Fix/amend previous commit

This commit is contained in:
Robin Gareus 2025-10-22 19:34:48 +02:00
parent 78677b672c
commit 8793a2f870
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
2 changed files with 2 additions and 2 deletions

View file

@ -42,7 +42,7 @@ def build(bld):
obj.install_path = bld.env['LIBDIR']
obj.defines = '_POSIX_C_SOURCE=200809L'
if bld.env['build_target'] == 'mingw' or conf.env['build_target'] == 'msvc':
if bld.env['build_target'] == 'mingw' or bld.env['build_target'] == 'msvc':
obj.source = 'windows/hid.c'
obj.linkflags = [ '-lsetupapi', '-mwindows' ]
obj.uselib = 'SETUPAPI'