diff options
author | Luke Dashjr <luke-jr+git@utopios.org> | 2012-06-08 16:36:40 +0000 |
---|---|---|
committer | Luke Dashjr <luke-jr+git@utopios.org> | 2012-08-24 03:42:16 +0000 |
commit | 5ebc1680062f6e6fc6352c4c8ccb1f746f6a280e (patch) | |
tree | da8081c4ae0b78d6a671d8a59af2e9ea2ea8a2d7 /src/makefile.osx | |
parent | 08344c735feddc8d6cbeb63b18f3fc1fd4544170 (diff) | |
download | bitcoin-5ebc1680062f6e6fc6352c4c8ccb1f746f6a280e.tar.xz |
Bugfix: Make USE_UPNP=- work with makefile.{linux-mingw,mingw,osx} too
Diffstat (limited to 'src/makefile.osx')
-rw-r--r-- | src/makefile.osx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/makefile.osx b/src/makefile.osx index cbd51b049f..5e9236fd73 100644 --- a/src/makefile.osx +++ b/src/makefile.osx @@ -91,7 +91,10 @@ OBJS= \ obj/util.o \ obj/wallet.o -ifdef USE_UPNP +ifndef USE_UPNP + override USE_UPNP = - +endif +ifneq (${USE_UPNP}, -) DEFS += -DUSE_UPNP=$(USE_UPNP) ifdef STATIC LIBS += $(DEPSDIR)/lib/libminiupnpc.a |