depot/third_party/nixpkgs/pkgs/development/python-modules/pybullet/static-libs.patch
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

13 lines
284 B
Diff

diff --git a/setup.py b/setup.py
index 6f7bd7589..321fc6ab0 100644
--- a/setup.py
+++ b/setup.py
@@ -465,6 +465,8 @@ print("-----")
extensions = []
+libraries += [ "X11", "GL" ] # statically link x11 and opengl
+
pybullet_ext = Extension(
"pybullet",
sources=sources,