Skip to content

Commit

Permalink
In MPAS framework with OSX, use -lc++ not -lstdc++
Browse files Browse the repository at this point in the history
  • Loading branch information
xylar committed Jul 13, 2021
1 parent 5b9df65 commit e8f93a9
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion components/mpas-framework/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -930,7 +930,13 @@ ifdef MPAS_EXTERNAL_CPPFLAGS
endif
####################################################
ifeq "$(USE_PIO2)" "true"
override LIBS += -lstdc++
UNAME_S := $(shell uname -s)
ifeq ($(UNAME_S),Darwin)
override LIBS += -lc++
else
override LIBS += -lstdc++
endif

endif

ifeq "$(CONTINUE)" "true"
Expand Down

0 comments on commit e8f93a9

Please sign in to comment.