瀏覽代碼

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 年之前
父節點
當前提交
1ac1760691
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      src/ppd42ns/CMakeLists.txt

+ 1
- 1
src/ppd42ns/CMakeLists.txt 查看文件

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