mirror of
https://github.com/Ed94/gencpp.git
synced 2025-06-16 19:51:47 -07:00
can't use static globals on static libs
This commit is contained in:
@ -263,6 +263,7 @@ if ( $c_lib_static )
|
||||
$compiler_args += $flag_all_c
|
||||
$compiler_args += $flag_updated_cpp_macro
|
||||
$compiler_args += $flag_c11
|
||||
$compiler_args += ($flag_define + 'GEN_STATIC_LINK')
|
||||
|
||||
$linker_args = @()
|
||||
$result = build-simple $path_build $includes $compiler_args $linker_args $unit $path_lib
|
||||
|
Reference in New Issue
Block a user