diff options
author | Thomas De Schampheleire <patrickdepinguin+buildroot@gmail.com> | 2013-08-07 19:34:17 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2013-08-10 10:16:52 +0200 |
commit | e7c8b81b8cd039f0f9899208c069dae37e94cea8 (patch) | |
tree | 6a64bfdd95e29b8e3397b0c3db9357085313b6d5 /package/strongswan/strongswan.mk | |
parent | 14d9fc4c746aa7f1c78fe85ce58ccebd2047107c (diff) | |
download | buildroot-e7c8b81b8cd039f0f9899208c069dae37e94cea8.tar.gz buildroot-e7c8b81b8cd039f0f9899208c069dae37e94cea8.zip |
strongswan: fix build error 'no rule to make target libtls.la'
In some strongswan configurations, an implicit dependency could be missing.
This commit patches strongswan to force this dependency when needed.
Fixes several autobuild failures, like:
http://autobuild.buildroot.net/results/643f5b33973d5b12ffe6d84254bf3be9ed81d0ad/
http://autobuild.buildroot.net/results/24bcdcb83119e416c92458fa9ff2f5269957a743/
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/strongswan/strongswan.mk')
-rw-r--r-- | package/strongswan/strongswan.mk | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/package/strongswan/strongswan.mk b/package/strongswan/strongswan.mk index cac68f8a11..3444f9281b 100644 --- a/package/strongswan/strongswan.mk +++ b/package/strongswan/strongswan.mk @@ -66,4 +66,12 @@ STRONGSWAN_DEPENDENCIES += \ $(if $(BR2_PACKAGE_MYSQL_CLIENT),mysql_client) endif +# Strongswan uses AC_LIB_PREFIX, which is relatively new. +# Avoid make to try reconfiguring due to timestamp changes, +# after patching configure{,.in}. +define STRONGSWAN_AVOID_RECONF_HOOK + touch $(@D)/aclocal.m4 +endef +STRONGSWAN_POST_PATCH_HOOKS += STRONGSWAN_AVOID_RECONF_HOOK + $(eval $(autotools-package)) |