summaryrefslogtreecommitdiff
path: root/utils/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'utils/Makefile.am')
-rw-r--r--utils/Makefile.am11
1 files changed, 8 insertions, 3 deletions
diff --git a/utils/Makefile.am b/utils/Makefile.am
index abae91c..598a6ea 100644
--- a/utils/Makefile.am
+++ b/utils/Makefile.am
@@ -8,13 +8,18 @@ noinst_HEADERS = librfid-tool.h
librfid_tool_SOURCES = librfid-tool.c common.c
librfid_tool_LDADD = ../src/librfid.la
-librfid_tool_LDFLAGS = -dynamic
librfid_send_script_SOURCES= send_script.c
librfid_send_script_LDADD = ../src/librfid.la
-librfid_send_script_LDFLAGS = -dynamic
mifare_tool_SOURCES = mifare-tool.c common.c
mifare_tool_LDADD = ../src/librfid.la
-mifare_tool_LDFLAGS = -dynamic
+
+if ENABLE_WIN32
+LINKOPTS = -dynamic -mno-cygwin
+librfid_send_script_LDFLAGS = $(LINKOPTS)
+librfid_tool_LDFLAGS = $(LINKOPTS)
+mifare_tool_LDFLAGS = $(LINKOPTS)
+endif
+
endif
personal git repositories of Harald Welte. Your mileage may vary