mirror of
https://github.com/brunoos/luasec.git
synced 2024-11-07 22:18:27 +01:00
Do not hardcode ar
On Exherbo, ar is prefixed by the target triple.
This commit is contained in:
parent
dd9688cf12
commit
580d9b7ed8
@ -6,7 +6,7 @@ OBJS= \
|
||||
|
||||
CC ?= cc
|
||||
CFLAGS += $(MYCFLAGS) -DLUASOCKET_DEBUG
|
||||
AR := ar rcu
|
||||
AR ?= ar
|
||||
RANLIB ?= ranlib
|
||||
|
||||
.PHONY: all clean
|
||||
@ -14,7 +14,7 @@ RANLIB ?= ranlib
|
||||
all: libluasocket.a
|
||||
|
||||
libluasocket.a: $(OBJS)
|
||||
$(AR) $@ $(OBJS)
|
||||
$(AR) rcu $@ $(OBJS)
|
||||
$(RANLIB) $@
|
||||
|
||||
clean:
|
||||
|
Loading…
Reference in New Issue
Block a user