summaryrefslogtreecommitdiffstats
path: root/bootstrap
diff options
context:
space:
mode:
authorElad Lahav <e2lahav@gmail.com>2020-09-07 16:42:32 (GMT)
committerBrad King <brad.king@kitware.com>2020-09-25 15:53:44 (GMT)
commitf9e950d4c5e8b7ecd5418dacfd5d6be500e6d738 (patch)
tree6b369bc64c2dbc139f4689f052f43ca4996db05d /bootstrap
parentc98ec731f90eb0180c89108b7d2e42263b66d1ed (diff)
downloadCMake-f9e950d4c5e8b7ecd5418dacfd5d6be500e6d738.zip
CMake-f9e950d4c5e8b7ecd5418dacfd5d6be500e6d738.tar.gz
CMake-f9e950d4c5e8b7ecd5418dacfd5d6be500e6d738.tar.bz2
libuv: Add support for building for QNX within CMake
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap4
1 files changed, 4 insertions, 0 deletions
diff --git a/bootstrap b/bootstrap
index 1e161db..feccde9 100755
--- a/bootstrap
+++ b/bootstrap
@@ -1675,6 +1675,10 @@ else
uv_c_flags="${uv_c_flags} -D__EXTENSIONS__ -D_XOPEN_SOURCE=600"
libs="${libs} -lkstat -lnsl -lsendfile -lsocket -lrt"
;;
+ *QNX*)
+ uv_c_flags="${uv_c_flags} -D_XOPEN_SOURCE=700"
+ libs="${libs} -lsocket"
+ ;;
esac
fi
if test "x${bootstrap_system_libuv}" = "x"; then