diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.am | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 65f8513..efc5970 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -262,9 +262,9 @@ parts_of_gpg_error_h = \ w32ce-add.h \ $(lock_obj_pub) -# If we are cross-compiling we better make sure that no stale native -# lock include file will be found by mkheader. -if CROSS_COMPILING +# If we are cross-compiling or building on Windows we better make sure +# that no stale native lock include file will be found by mkheader. +if FORCE_USE_SYSCFG pre_mkheader_cmds = -rm lock-obj-pub.native.h 2>/dev/null else pre_mkheader_cmds = : |