Browse Source

libreswan: fix build on macos

libreswan makefile detects macos (darwin) and changes build logic
but OpenWrt is always Linux so it is required to specify linux as
target platfrom

This patch specifies Linux as a target platfrom

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
lilik-openwrt-22.03
Sergey V. Lobanov 2 years ago
committed by Rosen Penev
parent
commit
270e8eabc3
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      net/libreswan/Makefile

+ 3
- 1
net/libreswan/Makefile View File

@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=libreswan
PKG_VERSION:=4.6
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://download.libreswan.org/
@ -85,6 +85,8 @@ MAKE_FLAGS+= \
FINALRUNDIR="/var/run/pluto" \
FINALNSSDIR="/etc/ipsec.d" \
MODPROBEARGS="-q" \
OSDEP=linux \
BUILDENV=linux \
ARCH="$(LINUX_KARCH)" \
define Build/Prepare


Loading…
Cancel
Save