Skip to content

Commit

Permalink
Adds support for USE_GIT_URLS environment variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Svenito authored and radare committed Jun 25, 2015
1 parent c6b0a53 commit 5767ac2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions global.mk
Expand Up @@ -14,6 +14,12 @@ else
SILENT=
endif

ifndef USE_GIT_URLS
GIT_PREFIX=https://www.
else
GIT_PREFIX=git://
endif

# verbose error messages everywhere
STATIC_DEBUG=0

Expand Down
3 changes: 2 additions & 1 deletion shlr/Makefile
@@ -1,11 +1,12 @@
include ../global.mk
include ../config-user.mk
include ../mk/${COMPILER}.mk

WGET?=wget
CS_VER=3.0
CS_TAR=http://capstone-engine.org/download/$(CS_VER)/capstone-$(CS_VER).tgz
CS_TAR=
CS_URL=https://www.github.com/aquynh/capstone.git
CS_URL=$(GIT_PREFIX)github.com/aquynh/capstone.git
CS_UPD=20150619
CS_BRA=next
CS_TIP=a5540d843b71fdeb72a04acbb7c67bd7a3459f1a
Expand Down

0 comments on commit 5767ac2

Please sign in to comment.