aboutsummaryrefslogtreecommitdiff
path: root/src/makefile.osx
diff options
context:
space:
mode:
Diffstat (limited to 'src/makefile.osx')
-rw-r--r--src/makefile.osx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/makefile.osx b/src/makefile.osx
index 4836ea3f4f..1e6993d69b 100644
--- a/src/makefile.osx
+++ b/src/makefile.osx
@@ -47,7 +47,7 @@ OBJS= \
cryptopp/obj/sha.o \
cryptopp/obj/cpu.o
-ifdef USE_UPNP
+ifeq (USE_UPNP, 1)
LIBS += $(DEPSDIR)/lib/libminiupnpc.a
DEFS += -DUSE_UPNP=$(USE_UPNP)
endif