summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorElad Lahav <e2lahav@gmail.com>2020-09-07 12:42:32 -0400
committerBrad King <brad.king@kitware.com>2020-09-25 11:53:44 -0400
commitf9e950d4c5e8b7ecd5418dacfd5d6be500e6d738 (patch)
tree6b369bc64c2dbc139f4689f052f43ca4996db05d /bootstrap
parentc98ec731f90eb0180c89108b7d2e42263b66d1ed (diff)
downloadcmake-f9e950d4c5e8b7ecd5418dacfd5d6be500e6d738.tar.gz
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 1e161db33f..feccde98da 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