Browse Source

strongswan: force PIC on all builds

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
lilik-openwrt-22.03
Philip Prindeville 4 years ago
committed by Paul Spooren
parent
commit
a72780a9c2
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      net/strongswan/Makefile
  2. +1
    -1
      net/strongswan/patches/305-minimal_dh_plugin.patch

+ 1
- 1
net/strongswan/Makefile View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=strongswan PKG_NAME:=strongswan
PKG_VERSION:=5.9.1 PKG_VERSION:=5.9.1
PKG_RELEASE:=8
PKG_RELEASE:=9
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=https://download.strongswan.org/ https://download2.strongswan.org/ PKG_SOURCE_URL:=https://download.strongswan.org/ https://download2.strongswan.org/


+ 1
- 1
net/strongswan/patches/305-minimal_dh_plugin.patch View File

@ -68,7 +68,7 @@
+ ../gmp/gmp_diffie_hellman.c ../gmp/gmp_diffie_hellman.h + ../gmp/gmp_diffie_hellman.c ../gmp/gmp_diffie_hellman.h
+ +
+ +
+libstrongswan_gmpdh_la_LDFLAGS = -module -avoid-version -Wl,-Bstatic -Wl,-lgmp -Wl,-Bdynamic -Wl,--as-needed
+libstrongswan_gmpdh_la_LDFLAGS = -module -avoid-version -Wl,-Bstatic -Wl,-lgmp -Wl,-Bdynamic -Wl,--as-needed $(FPIC)
+libstrongswan_gmpdh_la_LIBADD = +libstrongswan_gmpdh_la_LIBADD =
--- /dev/null --- /dev/null
+++ b/src/libstrongswan/plugins/gmpdh/gmpdh_plugin.c +++ b/src/libstrongswan/plugins/gmpdh/gmpdh_plugin.c


Loading…
Cancel
Save