diff --git a/libr/Makefile b/libr/Makefile index 15266d8803..1e40c758b6 100644 --- a/libr/Makefile +++ b/libr/Makefile @@ -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