diff options
author | Thorsten Glaser <tg@mirbsd.org> | 2009-12-20 00:53:52 +0059 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2009-12-20 10:35:07 +0100 |
commit | 39d2849441575a8cc683c215ab32f93eccfd79ab (patch) | |
tree | 2f44120c70cfb9efb7d96032f0fbf91fb4e19dc0 /mk | |
parent | a533b462aa15737edc04985150280b5775cb46df (diff) |
automatic handling of CFrustFrust packages
Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
Diffstat (limited to 'mk')
-rw-r--r-- | mk/package.mk | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/mk/package.mk b/mk/package.mk index 16213bf02..7562b9e4f 100644 --- a/mk/package.mk +++ b/mk/package.mk @@ -3,6 +3,15 @@ all: build-all-pkgs +ifneq (${PKG_CXX},) +ifeq (${ADK_COMPILE_${PKG_CXX}_WITH_UCLIBCXX},y) +PKG_BUILDDEP+= uclibc++ +PKG_DEPENDS+= uclibc++ +else +PKG_DEPENDS+= libstdcxx +endif +endif + TCFLAGS:= ${TARGET_CFLAGS} TCXXFLAGS:= ${TARGET_CFLAGS} TCPPFLAGS:= ${TARGET_CPPFLAGS} |