From 20233c3d1763462a908c7331713f055e53a2a4fd Mon Sep 17 00:00:00 2001 From: Michael Lauer Date: Tue, 25 Apr 2006 15:04:04 +0000 Subject: palmtop.bbclass: add a special case for sharprom compatible distros -- gcc 2.95 has no idea about libsupc++ --- classes/palmtop.bbclass | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'classes') diff --git a/classes/palmtop.bbclass b/classes/palmtop.bbclass index 7c65271b91..9d54de8748 100644 --- a/classes/palmtop.bbclass +++ b/classes/palmtop.bbclass @@ -9,7 +9,10 @@ inherit qmake -EXTRA_QMAKEVARS_POST += "DEFINES+=QWS CONFIG+=qt LIBS-=-lstdc++ LIBS+=-lsupc++" +# special case for DISTRO = sharprom +CPP_SUPPORT_LIB = "LIBS-=-lstdc++ LIBS+=-lsupc++" +CPP_SUPPORT_LIB_sharprom = "LIBS-=-lstdc++" +EXTRA_QMAKEVARS_POST += "DEFINES+=QWS CONFIG+=qt ${CPP_SUPPORT_LIB}" EXTRA_QMAKEVARS_POST += '${@base_conditional("PALMTOP_USE_MULTITHREADED_QT", "yes", "CONFIG+=thread", "CONFIG-=thread",d)}' EXTRA_QMAKEVARS_POST += "${@["LIBS+=-lqpe ", ""][(bb.data.getVar('PN', d, 1) == 'libqpe-opie')]}" DEPENDS_prepend = "${@["virtual/libqpe1 uicmoc-native ", ""][(bb.data.getVar('PN', d, 1) == 'libqpe-opie')]}" -- cgit v1.2.3