diff --git a/adm/genproj.tcl b/adm/genproj.tcl index 3fcfec250f..f0ddc6f900 100644 --- a/adm/genproj.tcl +++ b/adm/genproj.tcl @@ -1109,12 +1109,19 @@ proc osutils:csfList { theOS theCsfLibsMap theCsfFrmsMap } { set aFrmsMap(CSF_TclLibs) "Tcl" set aFrmsMap(CSF_TclTkLibs) "Tk" } else { - set aLibsMap(CSF_ThreadLibs) "pthread rt" - set aLibsMap(CSF_OpenGlLibs) "GL" - set aLibsMap(CSF_TclLibs) "tcl8.6" - set aLibsMap(CSF_TclTkLibs) "X11 tk8.6" - set aLibsMap(CSF_XwLibs) "X11 Xext Xmu Xi" - set aLibsMap(CSF_MotifLibs) "X11" + if { "$theOS" == "qnx" } { + # CSF_ThreadLibs - pthread API is part og libc on QNX + set aLibsMap(CSF_OpenGlLibs) "EGL GLESv2" + set aLibsMap(CSF_TclLibs) "tcl8.6" + set aLibsMap(CSF_TclTkLibs) "tk8.6" + } else { + set aLibsMap(CSF_ThreadLibs) "pthread rt" + set aLibsMap(CSF_OpenGlLibs) "GL" + set aLibsMap(CSF_TclLibs) "tcl8.6" + set aLibsMap(CSF_TclTkLibs) "X11 tk8.6" + set aLibsMap(CSF_XwLibs) "X11 Xext Xmu Xi" + set aLibsMap(CSF_MotifLibs) "X11" + } } # optional 3rd-parties @@ -2054,13 +2061,13 @@ proc osutils:cbp { theOutDir theProjName theSrcFiles theLibsList theFrameworks t # Release target configuration puts $aFile "\t\t\t" if { "$theIsExe" == "true" } { - puts $aFile "\t\t\t\t