diff options
author | Michael Stahl <mstahl@redhat.com> | 2012-08-06 15:03:50 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-08-06 15:05:27 +0200 |
commit | 0e80e5fe412a19ca04b577d0cf93625b745f0dbc (patch) | |
tree | 40b133b7d0a3d1b07c550284a22536c72e588cf4 /sd | |
parent | e3b57c4de31c2180efa30dc8d86c533dd176686e (diff) |
sd: link against ws2_32 on WNT for socket API
Change-Id: I44db5170cd4d7c3074af42b59e6dc1f9f783a974
Diffstat (limited to 'sd')
-rw-r--r-- | sd/CppunitTest_sd_uimpress.mk | 6 | ||||
-rw-r--r-- | sd/Library_sd.mk | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/sd/CppunitTest_sd_uimpress.mk b/sd/CppunitTest_sd_uimpress.mk index 94065b0f648b..ee9046f03dc7 100644 --- a/sd/CppunitTest_sd_uimpress.mk +++ b/sd/CppunitTest_sd_uimpress.mk @@ -74,6 +74,12 @@ $(eval $(call gb_CppunitTest_use_libraries,sd_uimpress,\ $(gb_STDLIBS) \ )) +ifeq ($(OS),WNT) +$(eval $(call gb_CppunitTest_use_libraries,sd_uimpress,\ + ws2_32 \ +)) +endif + $(eval $(call gb_CppunitTest_add_exception_objects,sd_uimpress,\ sd/qa/unit/uimpress \ )) 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,\ |