Jon, Please post a change set with your fix. We will review and test it. Thanks, =Sam -----Original Message----- From: iotivity-dev-bounces at lists.iotivity.org [mailto:[email protected]] On Behalf Of Jon A. Cruz Sent: Friday, March 13, 2015 7:02 AM To: iotivity-dev at lists.iotivity.org Subject: [dev] Scons config causing unit tests to fail
Hi all, I was trying to add a unit test to the build in the Connectivity Abstraction branch. However linking is failing on the build machine due to some issues with gtest 1.7. In addressing that I found a problem in a few places of the build scripts. Namely the LINKFLAGS variable is getting some libraries added to it including '-ldl' and '-lpthread'. Those are supposed too be added via appending to LIBS, not LINKFLAGS. Among other problems this prevents changing the link order, which should be a work-around for the gtest problem. Can I just go in and move pthread from LINKFLAGS to LIBS in the linux scons script, or is anyone else up to speed on fixing scons files? -- Jon A. Cruz - Senior Open Source Developer Samsung Open Source Group jonc at osg.samsung.com _______________________________________________ iotivity-dev mailing list iotivity-dev at lists.iotivity.org https://lists.iotivity.org/mailman/listinfo/iotivity-dev
