mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2025-12-10 08:44:39 +01:00
hostapd: pass global linker options to CLI tools
The CLI tools hostapd_cli and wpa_cli are compiled with `TARGET_LDFLAGS_C` rather than the standard `TARGET_LDFLAGS`. This variable is empty, leading to global linker options not being applied. Set this variable equal to `TARGET_LDFLAGS` right after the package.mk include to make sure global linker options are applied, but local options such as linking to crypto libraries are not. Signed-off-by: Matthias Van Parys <matthias.vanparys@softathome.com> Link: https://github.com/openwrt/openwrt/pull/20345 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
parent
8afdc50092
commit
59ecc11ccf
1 changed files with 2 additions and 0 deletions
|
|
@ -70,6 +70,8 @@ endif
|
|||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
TARGET_LDFLAGS_C:=$(TARGET_LDFLAGS)
|
||||
|
||||
STAMP_CONFIGURED:=$(STAMP_CONFIGURED)_$(CONFIG_WPA_MSG_MIN_PRIORITY)
|
||||
|
||||
ifneq ($(CONFIG_DRIVER_11AC_SUPPORT),)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue