| author | Michael Stahl <mstahl@redhat.com> | 2012-08-06 13:03:50 (GMT) |
|---|---|---|
| committer | Michael Stahl <mstahl@redhat.com> | 2012-08-06 13:05:27 (GMT) |
| commit | 0e80e5fe412a19ca04b577d0cf93625b745f0dbc (patch) (side-by-side diff) | |
| tree | 40b133b7d0a3d1b07c550284a22536c72e588cf4 | |
| parent | e3b57c4de31c2180efa30dc8d86c533dd176686e (diff) | |
| download | core-0e80e5fe412a19ca04b577d0cf93625b745f0dbc.zip core-0e80e5fe412a19ca04b577d0cf93625b745f0dbc.tar.gz | |
sd: link against ws2_32 on WNT for socket API
Change-Id: I44db5170cd4d7c3074af42b59e6dc1f9f783a974
| -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 94065b0..ee9046f 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 ca00b19..1fb99e0 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,\ |
