OSX build tweaks (laszlo)
authorJeff Garzik <jeff@garzik.org>
Sat, 21 May 2011 00:48:44 +0000 (20:48 -0400)
committerJeff Garzik <jgarzik@pobox.com>
Sat, 21 May 2011 00:48:44 +0000 (20:48 -0400)
src/makefile.osx

index 4836ea3..1e6993d 100644 (file)
@@ -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