summaryrefslogtreecommitdiff
path: root/RepositoryExternal.mk
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2013-10-23 22:37:11 +0200
committerMichael Stahl <mstahl@redhat.com>2013-10-24 00:24:16 +0200
commit936a1a9daf5d7feb4e1ebe0a2ab237f21c7bdc85 (patch)
treeb1ba3f6556f1b3bef147fd1de695630e162971f4 /RepositoryExternal.mk
parent30e1d4c0a9202d5c8057efdb0bfda11f46a25251 (diff)
curl: use libraries from WORKDIR
Change-Id: Ib4a3aef1ff1d42270e737659b3f663260d3f1175
Diffstat (limited to 'RepositoryExternal.mk')
-rw-r--r--RepositoryExternal.mk9
1 files changed, 8 insertions, 1 deletions
diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk
index fe8766874848..58020c4d6611 100644
--- a/RepositoryExternal.mk
+++ b/RepositoryExternal.mk
@@ -1931,9 +1931,16 @@ $(call gb_LinkTarget_set_include,$(1),\
-I$(call gb_UnpackedTarball_get_dir,curl/include) \
$$(INCLUDE) \
)
+
+ifeq ($(COM),MSC)
$(call gb_LinkTarget_use_libraries,$(1),\
- curl \
+ $(call gb_UnpackedTarball_get_dir,curl)/lib/libcurl.lib \
)
+else
+$(call gb_LinkTarget_add_libs,$(1),\
+ -L$(call gb_UnpackedTarball_get_dir,curl)/lib/.libs -lcurl \
+)
+endif
endef