summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2013-09-17 12:35:29 +0200
committerGravatar Nikias Bassen2013-09-17 12:35:29 +0200
commitd0d265c091d989a0e3979533247dd7e48ecfee79 (patch)
tree0489a34c21c971267daa8cbe0c76e53c4cb8ecc0
parent2041ade72025c05d6d1d2f39c948a8442ea7ee61 (diff)
downloadlibusbmuxd-d0d265c091d989a0e3979533247dd7e48ecfee79.tar.gz
libusbmuxd-d0d265c091d989a0e3979533247dd7e48ecfee79.tar.bz2
fix win32 build
-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