summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/Makefile.am2
-rw-r--r--tools/Makefile.am2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 6c21d2c..26380f9 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -12,5 +12,5 @@ libusbmuxd_la_SOURCES = \
libusbmuxd.c
if WIN32
-libusbmuxd_la_LIBADD += ws2_32
+libusbmuxd_la_LIBADD += -lws2_32
endif
diff --git a/tools/Makefile.am b/tools/Makefile.am
index d194501..7449401 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -1,4 +1,4 @@
-AM_CFLAGS = $(GLOBAL_CFLAGS) -I$(top_srcdir)/src
+AM_CFLAGS = $(GLOBAL_CFLAGS) -I$(top_srcdir)/src -I$(top_srcdir)/include
AM_LDFLAGS = $(libpthread_LIBS)
bin_PROGRAMS = iproxy