Skip to content
This repository has been archived by the owner on Sep 4, 2019. It is now read-only.

Commit

Permalink
Fix depwarn on 0.5 and 0.6 in build script
Browse files Browse the repository at this point in the history
  • Loading branch information
yuyichao committed Aug 9, 2016
1 parent be82ae8 commit b95c1c9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions deps/build.jl
@@ -1,11 +1,12 @@
using BinDeps
using Compat

@BinDeps.setup

version=v"2.6.2"

aliases = []
@windows_only begin
if is_windows()
if WORD_SIZE == 64
aliases = ["libhttp_parser64"]
else
Expand All @@ -15,7 +16,7 @@ end

libhttp_parser = library_dependency("libhttp_parser", aliases=aliases)

@unix_only begin
if is_unix()
src_arch = "v$version.zip"
src_url = "https://github.com/nodejs/http-parser/archive/$src_arch"
src_dir = "http-parser-$version"
Expand Down Expand Up @@ -46,11 +47,10 @@ libhttp_parser = library_dependency("libhttp_parser", aliases=aliases)
end

# Windows
@windows_only begin
if is_windows()
provides(Binaries,
URI("https://julialang.s3.amazonaws.com/bin/winnt/extras/libhttp_parser.zip"),
libhttp_parser, os = :Windows)
end

@BinDeps.install Dict(:libhttp_parser => :lib)

0 comments on commit b95c1c9

Please sign in to comment.