cryptsetup: fix library paths by calling autoreconf
authorDaniel Golle <daniel@makrotopia.org>
Sat, 23 Jul 2022 08:37:28 +0000 (09:37 +0100)
committerJosef Schlehofer <pepe.schlehofer@gmail.com>
Thu, 4 Aug 2022 11:48:21 +0000 (13:48 +0200)
Use PKG_FIXUP:=autoreconf when building cryptsetup to prevent
accidental linkage against host libraries.

Fixes: #19011
Reported-by: @dreirund
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(cherry picked from commit ad0ac5198decbc15c57801509a3005c1608ecbce)

utils/cryptsetup/Makefile

index fed551a009ec30e15fd32bc1a439e563e3b0b9bc..06ef039d55af202627420a69efbc32ef590ba0b8 100644 (file)
@@ -19,6 +19,7 @@ PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
 PKG_LICENSE:=GPL-2.0-or-later LGPL-2.1-or-later
 PKG_LICENSE_FILES:=COPYING COPYING.LGPL
 
+PKG_FIXUP:=autoreconf
 PKG_INSTALL:=1
 PKG_BUILD_PARALLEL:=1