mirror of
https://github.com/radareorg/radare2.git
synced 2025-01-31 18:43:28 +00:00
Make R2DIR configurable by user
This commit is contained in:
parent
5f5d358ee5
commit
816a2286c9
@ -2,8 +2,11 @@
|
||||
|
||||
LIBR:=$(abspath $(dir $(lastword $(MAKEFILE_LIST))))
|
||||
ifeq ($(LIBR),)
|
||||
# workaround for OSX-powerpc wtf
|
||||
LIBR=$(shell cd $(dir $(word 2,$(MAKEFILE_LIST)))/libr; pwd)
|
||||
ifeq ($(R2DIR),)
|
||||
$(error ERROR: Cannot find R2DIR. Please define this variable)
|
||||
else
|
||||
LIBR=$(R2DIR)/libr
|
||||
endif
|
||||
endif
|
||||
SHLR:=$(LIBR)/../shlr
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user