feat: Add libpython QNX platform support (#3372)

Add libpython QNX platform support.
Note that the qnx py toolchain must come from somewhere else, this
doesn't add an interpreter
<!--
PR Instructions/requirements
* Title uses `type: description` format. See CONTRIBUTING.md for types.
  * Common types are: build, docs, feat, fix, refactor, revert, test
  * Update `CHANGELOG.md` as applicable
* Breaking changes include "!" after the type and a "BREAKING CHANGES:"
  section at the bottom.
  See CONTRIBUTING.md for our breaking changes process.
* Body text describes:
  * Why this change is being made, briefly.
  * Before and after behavior, as applicable
  * References issue number, as applicable
* Update docs and tests, as applicable
* Delete these instructions prior to sending the PR
-->

---------

Co-authored-by: Ignas Anikevicius <240938+aignas@users.noreply.github.com>
diff --git a/python/private/hermetic_runtime_repo_setup.bzl b/python/private/hermetic_runtime_repo_setup.bzl
index 46495e4..4bcc1c1 100644
--- a/python/private/hermetic_runtime_repo_setup.bzl
+++ b/python/private/hermetic_runtime_repo_setup.bzl
@@ -179,10 +179,6 @@
                 "libs/python{major}{minor}t.lib".format(**version_dict),
                 "libs/python3t.lib",
             ],
-            "@platforms//os:linux": [
-                "lib/libpython{major}.{minor}.so".format(**version_dict),
-                "lib/libpython{major}.{minor}.so.1.0".format(**version_dict),
-            ],
             "@platforms//os:macos": ["lib/libpython{major}.{minor}.dylib".format(**version_dict)],
             "@platforms//os:windows": [
                 "python3.dll",
@@ -190,6 +186,10 @@
                 "libs/python{major}{minor}.lib".format(**version_dict),
                 "libs/python3.lib",
             ],
+            "//conditions:default": [
+                "lib/libpython{major}.{minor}.so".format(**version_dict),
+                "lib/libpython{major}.{minor}.so.1.0".format(**version_dict),
+            ],
         }),
     )