From d0d265c091d989a0e3979533247dd7e48ecfee79 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Tue, 17 Sep 2013 12:35:29 +0200 Subject: fix win32 build --- src/Makefile.am | 2 +- tools/Makefile.am | 2 +- 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 -- cgit v1.1-32-gdbae