security: Link test to oc lib for yocto
authorPhilippe Coval <philippe.coval@osg.samsung.com>
Tue, 28 Feb 2017 13:20:17 +0000 (14:20 +0100)
committerGreg Zaverucha <gregz@microsoft.com>
Tue, 7 Mar 2017 19:33:08 +0000 (19:33 +0000)
Problem was observed when building with yocto (master)

Bug: https://jira.iotivity.org/browse/IOT-1745
Change-Id: Ie0c6e692972ca10142a074c3d099a76284774c26
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/17561
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: George Nash <george.nash@intel.com>
Reviewed-by: Dan Mihai <Daniel.Mihai@microsoft.com>
Reviewed-by: Rick Bell <richard.s.bell@intel.com>
Reviewed-by: Greg Zaverucha <gregz@microsoft.com>
resource/csdk/security/unittest/SConscript

index 4df17d6..0908ebd 100644 (file)
@@ -81,7 +81,7 @@ else:
        srmtest_env.AppendUnique(LIBS = ['octbstack'])
 
 if 'CLIENT' in rd_mode or 'SERVER' in rd_mode:
-       srmtest_env.PrependUnique(LIBS = ['resource_directory'])
+       srmtest_env.PrependUnique(LIBS = ['resource_directory', 'oc'])
 
 srmtest_env.AppendUnique(LIBS = ['timer'])