Skip to content

Commit 1d5c47f

Browse files
committed
macos deployment target matching
1 parent 67347d9 commit 1d5c47f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Makefile

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
LIBVER=$(shell vtool -show-build /usr/local/lib/libgetargv.dylib | awk '/minos/{print $$2}')
2+
export MACOSX_DEPLOYMENT_TARGET=$(LIBVER)
3+
14
CXX=clang++
25
CPPFLAGS += -MMD -MP
36
CXXFLAGS += --std=c++20 -pedantic-errors -Weverything -Wno-c++98-compat -Wno-pre-c++20-compat-pedantic

0 commit comments

Comments
 (0)