From 11d1e33a78f6446a85ff6ea2e7f2d446f76529cc Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 6 Sep 2014 17:34:57 +0200 Subject: fix build when static linking is on --- package/librt/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'package/librt') diff --git a/package/librt/Makefile b/package/librt/Makefile index 3408ec235..0b26ee121 100644 --- a/package/librt/Makefile +++ b/package/librt/Makefile @@ -31,7 +31,9 @@ INSTALL_STYLE:= manual librt-install: ${INSTALL_DIR} ${IDIR_LIBRT}/$(ADK_TARGET_LIBC_PATH) ifeq ($(ADK_TARGET_LIB_MUSL),) +ifeq ($(ADK_TARGET_USE_STATIC_LIBS),) ${CP} ${STAGING_TARGET_DIR}/lib/librt*.so* ${IDIR_LIBRT}/$(ADK_TARGET_LIBC_PATH) endif +endif include ${ADK_TOPDIR}/mk/pkg-bottom.mk -- cgit v1.2.3