nixpkgs-suyu/pkgs/development/python-modules/pybullet/static-libs.patch
2019-03-27 22:17:37 +00:00

13 lines
317 B
Diff

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