Skip to content

Commit

Permalink
Merge pull request #394 from vasole/no_gl
Browse files Browse the repository at this point in the history
Do not force unnecessary link to OpenGL library.
  • Loading branch information
vasole authored Dec 20, 2018
2 parents 5e728fc + 88d1f84 commit 6e81afc
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -347,11 +347,11 @@ def build_Object3DCTools(ext_modules):
elif sys.platform == "darwin":
libraries = []
else:
libraries = ['GL']
# if sys.platform == 'windows':
# WindowsSDK = os.getenv('WindowsSdkDir')
# if WindowsSDK is not None:
# includes.append(WindowsSDK)
libraries = []
# it does not seem to be necessary to link to the library
# since it is dynamically provided. Uncomment next line if
# needed
# libraries = ['GL']

module = Extension(name='PyMca5.Object3D.Object3DCTools',
sources=glob.glob('PyMca5/Object3D/Object3DCTools/*.c'),
Expand Down

0 comments on commit 6e81afc

Please sign in to comment.