resource-encapsulation: fix build without curl
authorHauke Mehrtens <hauke.mehrtens@lantiq.com>
Thu, 13 Aug 2015 13:03:11 +0000 (15:03 +0200)
committerUze Choi <uzchoi@samsung.com>
Wed, 19 Aug 2015 04:18:39 +0000 (04:18 +0000)
commite08edc7d8e79fc203bcc36fbf69c186c4480c0be
treeabdacfd8062550b266fd3f6f203571f88605c8dc
parent9eef94e868f8574e6d8f368355964f3259c96f45
resource-encapsulation: fix build without curl

The hue plugin needs curl and it should only be build when libcurl is available.
Without this patch, the build fails without curl installed, this patch fixes the problem and makes the build worm without curl and without the hue stuff.

Without this patch I am getting this error message:
scons: ***
File "/service/third_party_libs.scons", line 50, in ?

Change-Id: I5b4da555ff84b9b605cc6c119990d60ff670bd0d
Signed-off-by: Hauke Mehrtens <hauke.mehrtens@lantiq.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/2199
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Minji Park <minjii.park@samsung.com>
Reviewed-by: Markus Jung <markus.jung@samsung.com>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
service/resource-encapsulation/src/resourceContainer/SConscript