nixpkgs/pkgs/development/python-modules/pybullet/static-libs.patch

14 lines
317 B
Diff
Raw Normal View History

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,