Browse Source

ppd42ns: glibc < 2.17 need to link to lrt to use clock_gettime()

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Signed-off-by: Sarah Knepper <sarah.knepper@intel.com>
Brendan Le Foll 10 years ago
parent
commit
1ac1760691
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/ppd42ns/CMakeLists.txt

+ 1
- 1
src/ppd42ns/CMakeLists.txt View File

2
 set (libdescription "upm ppd42ns dust sensor module")
2
 set (libdescription "upm ppd42ns dust sensor module")
3
 set (module_src ${libname}.cxx)
3
 set (module_src ${libname}.cxx)
4
 set (module_h ${libname}.h)
4
 set (module_h ${libname}.h)
5
-upm_module_init()
5
+upm_module_init("-lrt")