Revert "OSX build tweaks (laszlo)"
authorMatt Corallo <matt@bluematt.me>
Sat, 21 May 2011 12:14:34 +0000 (14:14 +0200)
committerMatt Corallo <matt@bluematt.me>
Sat, 21 May 2011 12:14:34 +0000 (14:14 +0200)
This reverts commit 69ae372b51cd589a3ac0b1ad09b0ebb90c1b6861 which
removes support for building the Mac version of Bitcoin with UPnP
support and UPnP disabled by default (which should be the default,
according to the community vote and as its the default on all
other platforms).

src/makefile.osx

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