Skip to content

Commit

Permalink
use the correct way to add compile args
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Apr 2, 2024
1 parent 5dea9ba commit 8d3b4ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -954,7 +954,7 @@ def addldflags(*s):
add_tokens(LDFLAGS, "extra_link_args")
#add_to_keywords(kw, 'include_dirs', '.')
if debug_ENABLED and WIN32 and MINGW_PREFIX:
extra_compile_args.append("-DDEBUG")
add_to_keywords(kw, 'extra_compile_args', "-DDEBUG")
if verbose_ENABLED:
print(f"exec_pkgconfig({pkgs_options}, {ekw})={kw}")
return kw
Expand Down

0 comments on commit 8d3b4ed

Please sign in to comment.