about summary refs log tree commit diff stats
path: root/config.mk
diff options
context:
space:
mode:
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.mk b/config.mk
index 8de5d81..0a60311 100644
--- a/config.mk
+++ b/config.mk
@@ -1,4 +1,7 @@
+ifeq ($(PREFIX),)
 PREFIX = /usr/local
+endif
+
 BUILD_DIR = build
 NAME = libuv_link_t
 SNAME = $(NAME).a