Skip to content

Commit

Permalink
fix mingw build
Browse files Browse the repository at this point in the history
  • Loading branch information
majestrate committed Apr 21, 2017
1 parent cf3f8a7 commit 598897c
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions Makefile.mingw
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,13 @@ WINDRES = windres
CXXFLAGS = -Os -D_MT -DWIN32 -D_WINDOWS -DWIN32_LEAN_AND_MEAN
NEEDED_CXXFLAGS = -std=c++11
BOOST_SUFFIX = -mt
INCFLAGS = -I/usr/include/ -I/usr/local/include/
LDFLAGS = -Wl,-rpath,/usr/local/lib \
-L/usr/local/lib
INCFLAGS = -I/usr/include/ -I/usr/local/include/ -I.
LDFLAGS = -Wl,-rpath,/usr/local/lib -L/usr/local/lib

# UPNP Support
# UPNP Support
ifeq ($(USE_UPNP),yes)
CXXFLAGS += -DUSE_UPNP -DMINIUPNP_STATICLIB
LDLIBS = -Wl,-Bstatic -lminiupnpc
LDLIBS = -Wl,-Bstatic -lminiupnpc
endif

LDLIBS += \
Expand Down

0 comments on commit 598897c

Please sign in to comment.