diff --git a/sde_lib/Makefile b/sde_lib/Makefile index 8518f92..90a9953 100644 --- a/sde_lib/Makefile +++ b/sde_lib/Makefile @@ -1,4 +1,5 @@ CC ?= gcc +AR ?= ar SDE_INC = -I. -I.. SDE_LD = -ldl -pthread CFLAGS += -Wextra -Wall -O2 @@ -18,7 +19,7 @@ dynamic: $(DOBJS) rm -f *_d.o static: $(SOBJS) - ar rs libsde.a $(SOBJS) + $(AR) rs libsde.a $(SOBJS) rm -f *_s.o clean: