summaryrefslogtreecommitdiffstats
path: root/am/cmacros.am
diff options
context:
space:
mode:
Diffstat (limited to 'am/cmacros.am')
-rw-r--r--am/cmacros.am9
1 files changed, 9 insertions, 0 deletions
diff --git a/am/cmacros.am b/am/cmacros.am
index be34ca372..da45a67b7 100644
--- a/am/cmacros.am
+++ b/am/cmacros.am
@@ -48,6 +48,15 @@ if GNUPG_PROTECT_TOOL_PGM
AM_CPPFLAGS += -DGNUPG_DEFAULT_PROTECT_TOOL="\"@GNUPG_PROTECT_TOOL_PGM@\""
endif
+# Under Windows we use LockFileEx. WindowsCE provides this only on
+# the WindowsMobile 6 platform and thus we need to use the coredll6
+# import library.
+if HAVE_W32CE_SYSTEM
+extra_sys_libs = -lcoredll6
+else
+extra_sys_libs =
+endif
+
# Convenience macros
libcommon = ../common/libcommon.a