summaryrefslogtreecommitdiff
path: root/sd/Library_sd.mk
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2012-08-06 15:03:50 +0200
committerMichael Stahl <mstahl@redhat.com>2012-08-06 15:05:27 +0200
commit0e80e5fe412a19ca04b577d0cf93625b745f0dbc (patch)
tree40b133b7d0a3d1b07c550284a22536c72e588cf4 /sd/Library_sd.mk
parente3b57c4de31c2180efa30dc8d86c533dd176686e (diff)
sd: link against ws2_32 on WNT for socket API
Change-Id: I44db5170cd4d7c3074af42b59e6dc1f9f783a974
Diffstat (limited to 'sd/Library_sd.mk')
-rw-r--r--sd/Library_sd.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/sd/Library_sd.mk b/sd/Library_sd.mk
index ca00b1987963..1fb99e02ca51 100644
--- a/sd/Library_sd.mk
+++ b/sd/Library_sd.mk
@@ -109,6 +109,12 @@ $(eval $(call gb_Library_use_libraries,sd,\
$(gb_STDLIBS) \
))
+ifeq ($(OS),WNT)
+$(eval $(call gb_Library_use_libraries,sd,\
+ ws2_32 \
+))
+endif
+
$(eval $(call gb_Library_set_componentfile,sd,sd/util/sd))
$(eval $(call gb_Library_add_exception_objects,sd,\