Skip to content

Commit

Permalink
add sysroot for linux
Browse files Browse the repository at this point in the history
  • Loading branch information
fredboudon committed Jan 23, 2024
1 parent 94153da commit 65faf86
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
8 changes: 0 additions & 8 deletions conda/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,6 @@ requirements:
- libxcb # [linux]
- pthread-stubs # [linux]
- {{ cdt('mesa-libgl-devel') }} # [linux]
- {{ cdt('mesa-libgl-devel') }} # [linux]
- {{ cdt('mesa-dri-drivers') }} # [linux]
- {{ cdt('libxext') }} # [linux]
- {{ cdt('libselinux') }} # [linux]
- {{ cdt('libxdamage') }} # [linux]
- {{ cdt('libxxf86vm') }} # [linux]
- {{ cdt('libxfixes') }} # [linux]
- {{ cdt('libxcb') }} # [linux]
- xorg-libxfixes # [linux]


Expand Down
2 changes: 1 addition & 1 deletion pyproject-linux.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ libraries = ['QGLViewer','GLU']
tags = ['QGLViewer_2_9_1']
#include-dirs=['${CONDA_PREFIX}/include','${PREFIX}/include']
#library-dirs=['${CONDA_PREFIX}/lib','${PREFIX}/lib']
extra-compile-args=['-I${CONDA_PREFIX}/include','-I${PREFIX}/include','-I${BUILD_PREFIX}/${HOST}/sysroot/usr/include','-nostdinc++','-nostdinc'] # '--sysroot=${BUILD_PREFIX}/${HOST}/sysroot']
extra-compile-args=['-I${CONDA_PREFIX}/include','-I${PREFIX}/include','-I${BUILD_PREFIX}/${HOST}/sysroot/usr/include','-nostdinc++','-nostdinc', '--sysroot=${BUILD_PREFIX}/${HOST}/sysroot']
extra-link-args=['-L${CONDA_PREFIX}/lib','-L${PREFIX}/lib','--sysroot=${BUILD_PREFIX}/${HOST}/sysroot']

[tool.sip.project]
Expand Down

0 comments on commit 65faf86

Please sign in to comment.