diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2012-09-19 15:30:40 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2012-09-19 15:30:40 +0000 |
commit | b48b43658d5e6419098e255bae9670940495d03b (patch) | |
tree | df1de93f731e7b9d9f8027d48176e3f4f7df4d68 | |
parent | ec5413972eb1cec10f99277cdb1b3060199bec2c (diff) | |
download | upstream-b48b43658d5e6419098e255bae9670940495d03b.tar.gz upstream-b48b43658d5e6419098e255bae9670940495d03b.tar.bz2 upstream-b48b43658d5e6419098e255bae9670940495d03b.zip |
[include] make packages depend on +librt and +libpthread by default if eglibc is in use
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33480 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | include/package-defaults.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/package-defaults.mk b/include/package-defaults.mk index c3496767cf..37f814da8c 100644 --- a/include/package-defaults.mk +++ b/include/package-defaults.mk @@ -5,8 +5,10 @@ # See /LICENSE for more information. # +PKG_DEFAULT_DEPENDS = +libc +USE_EGLIBC:librt +USE_EGLIBC:libpthread + 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 PKG_FIXUP_DEPENDS = $(2) endif |