Message ID | 20211021100003.205932-1-andrew.shadura@collabora.co.uk |
---|---|
State | Accepted |
Headers | show |
Series | Remove extra slash from BIN/INC/LIBDIR defaults | expand |
On Thu, Oct 21, 2021 at 12:00:03PM +0200, Andrej Shadura wrote: > Every usage of these variables appends an extra slash, so keeping > a slash in the default values leads to double slashes in resulting > paths. Thanks, applied.
diff --git a/wpa_supplicant/Makefile b/wpa_supplicant/Makefile index 4739b00..17b7a0b 100644 --- a/wpa_supplicant/Makefile +++ b/wpa_supplicant/Makefile @@ -30,9 +30,9 @@ LIBS_p := $(LIBS) endif endif -export LIBDIR ?= /usr/local/lib/ -export INCDIR ?= /usr/local/include/ -export BINDIR ?= /usr/local/sbin/ +export LIBDIR ?= /usr/local/lib +export INCDIR ?= /usr/local/include +export BINDIR ?= /usr/local/sbin PKG_CONFIG ?= pkg-config CFLAGS += $(EXTRA_CFLAGS)
Every usage of these variables appends an extra slash, so keeping a slash in the default values leads to double slashes in resulting paths. Signed-off-by: Andrej Shadura <andrew.shadura@collabora.co.uk> --- wpa_supplicant/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)