Fix Darwin WHOLEFLAG detection ##build

This commit is contained in:
Ole André Vadla Ravnås 2024-09-23 00:15:24 +02:00 committed by pancake
parent 5236e1c276
commit 5145b55020

View File

@ -93,7 +93,7 @@ ifeq (1,1)
( cd .libr2/$$BN ; pwd ; du -hs ../../$$LIB; ${AR} -x ../../$$LIB ) ; \
done
ifeq ($(shell uname),Darwin)
ifeq ($(OSTYPE),darwin)
WHOLEFLAG=-all_load
else
WHOLEFLAG=-Wl,--whole-archive