git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/seqbias@100943 bc3139a8-67e5-0310-9ffc-ced21a209358
... | ... |
@@ -1,7 +1,8 @@ |
1 | 1 |
include Makevars.common |
2 | 2 |
|
3 | 3 |
SAMTOOLS_PATH=\ |
4 |
- `echo 'cat(system.file("usrlib", package="Rsamtools", mustWork=TRUE))' |\ |
|
4 |
+ `echo 'cat(system.file("usrlib", .Platform[["r_arch"]], \ |
|
5 |
+ package="Rsamtools", mustWork=TRUE))' |\ |
|
5 | 6 |
"${R_HOME}/bin/R" --vanilla --slave` |
6 | 7 |
SAMTOOLS_LIBS="$(SAMTOOLS_PATH)/libbam.a" "$(SAMTOOLS_PATH)/libbcf.a"\ |
7 | 8 |
"$(SAMTOOLS_PATH)/libtabix.a" -lz -pthread |