Commit 96d9bbf1 authored by Michal Hrusecky's avatar Michal Hrusecky 🦎

knot: Fix build the correct way

parent 15308b88
......@@ -44,7 +44,7 @@ endef
define Package/knot-libs
$(call Package/knot-lib/Default)
TITLE+= common DNS and DNSSEC libraries
DEPENDS+=+libgnutls
DEPENDS+=+libgnutls +USE_UCLIBC:libatomic
endef
define Package/knot-libzscanner
......@@ -135,7 +135,7 @@ endef
define Build/Configure
$(call Build/Configure/Default)
ifeq ($(CONFIG_USE_UCLIBC),y)
sed -i 's|\(.*HAVE_ATOMIC.*\)1|\10|' $(PKG_BUILD_DIR)/src/config.h
sed -i 's|\(AM_LDFLAGS)\)|\1 -latomic|' $(PKG_BUILD_DIR)/src/Makefile
endif
endef
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment