Skip to content
Snippets Groups Projects
Commit b06f4dc9 authored by Jo-Philipp Wich's avatar Jo-Philipp Wich
Browse files

make packages depend on +librt and +libpthread by default if eglibc is in use

SVN-Revision: 33480
parent c7f0f973
No related branches found
No related tags found
No related merge requests found
...@@ -5,8 +5,10 @@ ...@@ -5,8 +5,10 @@
# See /LICENSE for more information. # See /LICENSE for more information.
# #
PKG_DEFAULT_DEPENDS = +libc +USE_EGLIBC:librt +USE_EGLIBC:libpthread
ifneq ($(PKG_NAME),toolchain) ifneq ($(PKG_NAME),toolchain)
PKG_FIXUP_DEPENDS = $(if $(filter kmod-%,$(1)),$(2),+libc $(filter-out +libc,$(2))) PKG_FIXUP_DEPENDS = $(if $(filter kmod-%,$(1)),$(2),$(PKG_DEFAULT_DEPENDS) $(filter-out $(PKG_DEFAULT_DEPENDS),$(2)))
else else
PKG_FIXUP_DEPENDS = $(2) PKG_FIXUP_DEPENDS = $(2)
endif endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment