Skip to content

Commit

Permalink
Link required standard libraries statically on Mac OS X
Browse files Browse the repository at this point in the history
  • Loading branch information
Argent77 committed May 11, 2015
1 parent ebbd688 commit 9230db9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tileconv/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ else
ifeq ($(shell uname -s),Darwin)
# A few hacks to enable proper threading support
CXXFLAGS += -D_GLIBCXX_USE_NANOSLEEP
# Don't assume that standard libraries are available on the target system
LDFLAGS += -static-libstdc++ -static-libgcc
else
# Nothing to do for Linux (yet)
endif
Expand Down

0 comments on commit 9230db9

Please sign in to comment.