]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Install wpa_passphrase when not disabled
authorAlex Kiernan <alex.kiernan@gmail.com>
Thu, 21 Apr 2022 14:38:42 +0000 (15:38 +0100)
committerJouni Malinen <j@w1.fi>
Sat, 23 Apr 2022 20:41:32 +0000 (23:41 +0300)
As part of fixing CONFIG_NO_WPA_PASSPHRASE, whilst wpa_passphrase gets
built, its not installed during `make install`.

Fixes: cb41c214b78d ("build: Re-enable options for libwpa_client.so and wpa_passphrase")
Signed-off-by: Alex Kiernan <alexk@zuma.ai>
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
wpa_supplicant/Makefile

index 0bab313f23559a4f2f3375a6bb40bb2a3d1bdcc4..12787c0c7d0fbca1002c377268a91edec3b5a52d 100644 (file)
@@ -73,6 +73,9 @@ $(DESTDIR)$(BINDIR)/%: %
 
 install: $(addprefix $(DESTDIR)$(BINDIR)/,$(BINALL))
        $(MAKE) -C ../src install
+ifndef CONFIG_NO_WPA_PASSPHRASE
+       install -D wpa_passphrase $(DESTDIR)/$(BINDIR)/wpa_passphrase
+endif
 ifdef CONFIG_BUILD_WPA_CLIENT_SO
        install -m 0644 -D libwpa_client.so $(DESTDIR)/$(LIBDIR)/libwpa_client.so
        install -m 0644 -D ../src/common/wpa_ctrl.h $(DESTDIR)/$(INCDIR)/wpa_ctrl.h