Skip to content

Commit

Permalink
mac os non-static linking
Browse files Browse the repository at this point in the history
  • Loading branch information
bishoyh committed Nov 11, 2024
1 parent ccbbe7d commit be66fdf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
CXX = g++
# if not macOS link statically with libstdc++
ifeq ($(shell uname),Darwin)
CXXFLAGS = -O3 -std=c++20 -pthread
else
CXXFLAGS = -O3 -std=c++20 -pthread -static

TARGET = mbox2eml
Expand Down

0 comments on commit be66fdf

Please sign in to comment.