[IOT-1682] Windows: fix linker error for SECURED=0
authorDan Mihai <Daniel.Mihai@microsoft.com>
Wed, 14 Dec 2016 17:42:17 +0000 (09:42 -0800)
committerMike Fenelon <mike.fenelon@microsoft.com>
Fri, 16 Dec 2016 21:31:12 +0000 (21:31 +0000)
commit065c5da055411dfedc2689f97a52086325deb6e2
treeddf498e18a037f48b9894924e8d72b56b7ab2feb
parent16a2a6dce9ae19aa0c9346a6c793766bb5a49602
[IOT-1682] Windows: fix linker error for SECURED=0

Linking with static LIB octbstack_test on Windows requires linking
with static LIB ocsrm too.

Also, ocsrm has been removed from the list of LIBS of this test,
for non-Windows platforms. On these platforms, octbstack_test is a
shared LIB, that already includes static LIB ocsrm.

Change-Id: I4a73029689f137e615ecf721fa89d9498904301d
Signed-off-by: Dan Mihai <Daniel.Mihai@microsoft.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/15627
Reviewed-by: Phil Coval <philippe.coval@osg.samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Greg Zaverucha <gregz@microsoft.com>
Reviewed-by: Kevin Kane <kkane@microsoft.com>
Reviewed-by: Mike Fenelon <mike.fenelon@microsoft.com>
resource/csdk/security/SConscript
resource/unittests/SConscript