From 16dbcc605532bfa9da31b64c56cbba602f78be49 Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Fri, 29 Oct 2021 23:30:42 +0200 Subject: libgpg-error: Fix compiling with uclibc Starting with version 1.33, libgpg-error dropped the first two parts of a four part "triplet" while canonicalizing CPU-VENDOR-KERNEL-SYSTEM. Therefore the resulting header name for arm-openadk-linux-uclibceabi becomes lock-obj-pub.linux-uclibceabi.h - make sure it exists by creating an appropriate symlink. Leave the old symlink name in place to avoid breaking any other triplet values. Signed-off-by: Phil Sutter --- package/libgpg-error/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'package/libgpg-error') diff --git a/package/libgpg-error/Makefile b/package/libgpg-error/Makefile index 4c43978b9..496e69c82 100644 --- a/package/libgpg-error/Makefile +++ b/package/libgpg-error/Makefile @@ -61,9 +61,11 @@ LIBGPG_PREFIX:= x86_64-pc-linux-gnu endif post-extract: - cd $(WRKSRC)/src/syscfg && \ + cd $(WRKSRC)/src/syscfg && ( \ ln -s lock-obj-pub.$(LIBGPG_PREFIX).h \ - lock-obj-pub.$(GNU_TARGET_NAME).h + lock-obj-pub.$(GNU_TARGET_NAME).h ; \ + ln -s lock-obj-pub.$(LIBGPG_PREFIX).h \ + lock-obj-pub.$(ADK_TARGET_LINUXTYPE)-$(ADK_TARGET_SUFFIX).h ) libgpg-error-install: ${INSTALL_DIR} ${IDIR_LIBGPG_ERROR}/usr/lib -- cgit v1.2.3