diff --git a/rules/radius.mk b/rules/radius.mk index 643acfd497b2..eaa80a001558 100644 --- a/rules/radius.mk +++ b/rules/radius.mk @@ -4,7 +4,7 @@ PAM_RADIUS_VERSION = 1.4.1-1 export PAM_RADIUS_VERSION -LIBPAM_RADIUS = libpam-radius-auth_$(PAM_RADIUS_VERSION)_amd64.deb +LIBPAM_RADIUS = libpam-radius-auth_$(PAM_RADIUS_VERSION)_$(CONFIGURED_ARCH).deb $(LIBPAM_RADIUS)_SRC_PATH = $(SRC_PATH)/radius/pam SONIC_MAKE_DEBS += $(LIBPAM_RADIUS) @@ -16,7 +16,7 @@ NSS_RADIUS_VERSION = 1.0.1-1 export NSS_RADIUS_VERSION -LIBNSS_RADIUS = libnss-radius_$(NSS_RADIUS_VERSION)_amd64.deb +LIBNSS_RADIUS = libnss-radius_$(NSS_RADIUS_VERSION)_$(CONFIGURED_ARCH).deb $(LIBNSS_RADIUS)_SRC_PATH = $(SRC_PATH)/radius/nss SONIC_MAKE_DEBS += $(LIBNSS_RADIUS) diff --git a/src/radius/nss/Makefile b/src/radius/nss/Makefile index 6559ae585edb..09526a04961c 100644 --- a/src/radius/nss/Makefile +++ b/src/radius/nss/Makefile @@ -2,7 +2,7 @@ SHELL = /bin/bash .SHELLFLAGS += -e -MAIN_TARGET = libnss-radius_$(NSS_RADIUS_VERSION)_amd64.deb +MAIN_TARGET = libnss-radius_$(NSS_RADIUS_VERSION)_$(CONFIGURED_ARCH).deb $(addprefix $(DEST)/, $(MAIN_TARGET)): $(DEST)/% : pushd ./libnss-radius diff --git a/src/radius/pam/Makefile b/src/radius/pam/Makefile index c170f6095f80..60e069c763e4 100644 --- a/src/radius/pam/Makefile +++ b/src/radius/pam/Makefile @@ -2,7 +2,7 @@ SHELL = /bin/bash .SHELLFLAGS += -e -MAIN_TARGET = libpam-radius-auth_$(PAM_RADIUS_VERSION)_amd64.deb +MAIN_TARGET = libpam-radius-auth_$(PAM_RADIUS_VERSION)_$(CONFIGURED_ARCH).deb $(addprefix $(DEST)/, $(MAIN_TARGET)): $(DEST)/% : # Build freeradius-server v1.1.x