[build] Fix the default value for the AR variable (#145)
Initialize the AR variable during configuration, to avoid leaving unsubstituted string if the AR shell/environment variable is not set.
This commit is contained in:
@@ -149,6 +149,7 @@ endif
|
||||
|
||||
CC:=@CC@
|
||||
CXX:=@CXX@
|
||||
AR:=@AR@
|
||||
STRIP:=@STRIP@
|
||||
OBJECTS:=$(subst .cc,.o,$(SOURCE))
|
||||
|
||||
@@ -187,7 +188,6 @@ ifeq ("@STATIC@", "yes")
|
||||
LDFLAGS+=-static
|
||||
endif
|
||||
|
||||
AR:=@AR@
|
||||
INSTALL:=@INSTALL@
|
||||
PREFIX:=@prefix@
|
||||
BINDIR:=$(DESTDIR)$(PREFIX)/sbin
|
||||
|
Reference in New Issue
Block a user