]> git.ipfire.org Git - thirdparty/openwrt.git/commit
xcrypt: work-around broken use of VARIANT with BUILDONLY 19353/head
authorDaniel Golle <daniel@makrotopia.org>
Wed, 9 Jul 2025 01:55:35 +0000 (02:55 +0100)
committerRobert Marko <robimarko@gmail.com>
Wed, 9 Jul 2025 08:34:12 +0000 (10:34 +0200)
commit99054fcb6a5aedcf6b65d09f886e3bb24f74d6f7
treee512a3e7c67bb99d959a169f185fa59e12a30976
parent1f8391346e1960b530d53fff4e134ee88dba2080
xcrypt: work-around broken use of VARIANT with BUILDONLY

Split the xcrypt package build into two Makefiles and a common part for
the version definition in order to work-around build problems when
combining VARIANT with BUILDONLY and scoped InstallDev.

This is done in order to skip build of libcrypt-compat in case we are
not building against glibc in order to prevent libcrypt.so shared
library being present in staging_dir and by that breaking multiple
packages which then will link against it.

Fixes: e3cf7088f1 ("libcrypt-compat: introduce package")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Link: https://github.com/openwrt/openwrt/pull/19353
Signed-off-by: Robert Marko <robimarko@gmail.com>
package/libs/xcrypt/Makefile [deleted file]
package/libs/xcrypt/libcrypt-compat/Makefile [new file with mode: 0644]
package/libs/xcrypt/libxcrypt-common.mk [new file with mode: 0644]
package/libs/xcrypt/libxcrypt/Makefile [new file with mode: 0644]