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