now only building the shim for linux installs
This commit is contained in:
parent
6af95e6f57
commit
f6544cf7fd
1 changed files with 4 additions and 8 deletions
10
deps/build.jl
vendored
10
deps/build.jl
vendored
|
@ -23,12 +23,8 @@ end
|
||||||
@BinDeps.install [:libportaudio => :libportaudio,
|
@BinDeps.install [:libportaudio => :libportaudio,
|
||||||
:libsndfile => :libsndfile]
|
:libsndfile => :libsndfile]
|
||||||
|
|
||||||
cd(joinpath(Pkg.dir(), "AudioIO", "deps", "src") )
|
# we're shipping a binary for OSX
|
||||||
|
@linux_only begin
|
||||||
|
cd(Pkg.dir("AudioIO", "deps", "src"))
|
||||||
run(`make`)
|
run(`make`)
|
||||||
if (!ispath("../usr"))
|
|
||||||
run(`mkdir ../usr`)
|
|
||||||
end
|
end
|
||||||
if (!ispath("../usr/lib"))
|
|
||||||
run(`mkdir ../usr/lib`)
|
|
||||||
end
|
|
||||||
run(`mv libportaudio_shim.$(BinDeps.shlib_ext) ../usr/lib`)
|
|
||||||
|
|
Loading…
Reference in a new issue