summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorThorsten Glaser <tg@mirbsd.org>2009-12-20 00:53:52 +0059
committerWaldemar Brodkorb <wbx@openadk.org>2009-12-20 10:35:07 +0100
commit39d2849441575a8cc683c215ab32f93eccfd79ab (patch)
tree2f44120c70cfb9efb7d96032f0fbf91fb4e19dc0 /mk
parenta533b462aa15737edc04985150280b5775cb46df (diff)
automatic handling of CFrustFrust packages
Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
Diffstat (limited to 'mk')
-rw-r--r--mk/package.mk9
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}