diff options
author | Kalev Lember <kalevlember@gmail.com> | 2013-03-21 23:54:36 +0100 |
---|---|---|
committer | Dan Winship <danw@gnome.org> | 2013-03-25 09:04:37 -0400 |
commit | fff0baf87a3950d1f8e096cfc71b0bb6e180a452 (patch) | |
tree | 2cb6d864c8681e0a908409c925a07646ec203bc9 | |
parent | 092915ebcb32859ae0b74aa6defa72bae0476c96 (diff) | |
download | libsoup-fff0baf87a3950d1f8e096cfc71b0bb6e180a452.tar.gz |
win32: link with ws2_32 for htons
https://bugzilla.gnome.org/show_bug.cgi?id=696354
-rw-r--r-- | libsoup/Makefile.am | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libsoup/Makefile.am b/libsoup/Makefile.am index e99c8e6c..d54a06a9 100644 --- a/libsoup/Makefile.am +++ b/libsoup/Makefile.am @@ -4,6 +4,10 @@ EXTRA_DIST = include $(GLIB_MAKEFILE) +if OS_WIN32 +LIBWS2_32 = -lws2_32 +endif + INCLUDES = \ -DG_LOG_DOMAIN=\"libsoup\" \ -DLOCALEDIR=\"$(localedir)\" \ @@ -83,6 +87,7 @@ EXTRA_DIST += libsoup-2.4.sym libsoup_2_4_la_LIBADD = \ $(GLIB_LIBS) \ + $(LIBWS2_32) \ $(XML_LIBS) \ $(SQLITE_LIBS) |