diff --git a/recipes/pysam/build.sh b/recipes/pysam/build.sh index 7149da7474346..ebbeba552cab5 100644 --- a/recipes/pysam/build.sh +++ b/recipes/pysam/build.sh @@ -6,7 +6,7 @@ sed -i'' -e 's/"-Wno-error=declaration-after-statement"//g' setup.py # linking htslib, see: # http://pysam.readthedocs.org/en/latest/installation.html#external # https://github.com/pysam-developers/pysam/blob/v0.9.0/setup.py#L79 -#export HTSLIB_LIBRARY_DIR=$PREFIX/lib:$HTSLIB_LIBRARY_DIR -#export HTSLIB_INCLUDE_DIR=$PREFIX/include:$HTSLIB_INCLUDE_DIR +#export HTSLIB_LIBRARY_DIR=$PREFIX/lib +#export HTSLIB_INCLUDE_DIR=$PREFIX/include sed -i'' -e 's/HTSLIB_MODE = \"shared\"/HTSLIB_MODE = \"separate\"/g' setup.py $PYTHON setup.py install diff --git a/recipes/pysam/meta.yaml b/recipes/pysam/meta.yaml index 8ed6038c034ad..9fbb453b62a66 100644 --- a/recipes/pysam/meta.yaml +++ b/recipes/pysam/meta.yaml @@ -8,10 +8,12 @@ source: md5: 66913000ff50817bdcf56dfd3a52396f build: - number: 0 + number: 1 requirements: build: + - gcc # [linux] + - llvm # [osx] - htslib - samtools - bcftools @@ -20,6 +22,7 @@ requirements: - setuptools run: + - libgcc # [linux] - htslib - samtools - bcftools