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)
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

index 2934a06..966cc12 100644 (file)
@@ -177,7 +177,7 @@ else:
 
        HueBundle = hue_resource_bundle_env.SharedLibrary('HueBundle', hue_resource_bundle_src)
        hue_resource_bundle_env.InstallTarget(HueBundle, 'libHueBundle')
-       lib_env = conf2.Finish()
+lib_env = conf2.Finish()
 
 ######################################################################
 # build resource container unit tests