mirror of
https://github.com/brunoos/luasec.git
synced 2024-12-27 04:58:20 +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
|
CC ?= cc
|
||||||
CFLAGS += $(MYCFLAGS) -DLUASOCKET_DEBUG
|
CFLAGS += $(MYCFLAGS) -DLUASOCKET_DEBUG
|
||||||
AR := ar rcu
|
AR ?= ar
|
||||||
RANLIB ?= ranlib
|
RANLIB ?= ranlib
|
||||||
|
|
||||||
.PHONY: all clean
|
.PHONY: all clean
|
||||||
@ -14,7 +14,7 @@ RANLIB ?= ranlib
|
|||||||
all: libluasocket.a
|
all: libluasocket.a
|
||||||
|
|
||||||
libluasocket.a: $(OBJS)
|
libluasocket.a: $(OBJS)
|
||||||
$(AR) $@ $(OBJS)
|
$(AR) rcu $@ $(OBJS)
|
||||||
$(RANLIB) $@
|
$(RANLIB) $@
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
|
Loading…
Reference in New Issue
Block a user