diff options
Diffstat (limited to 'meta/classes/sip.bbclass')
-rw-r--r-- | meta/classes/sip.bbclass | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/meta/classes/sip.bbclass b/meta/classes/sip.bbclass index 711f851593..6ed2a13bda 100644 --- a/meta/classes/sip.bbclass +++ b/meta/classes/sip.bbclass @@ -42,11 +42,9 @@ sip_do_generate() { echo "calling 'sip4 -I sip -I ${STAGING_SIPDIR} ${SIPTAGS} ${FEATURES} -c ${module} -b ${module}/${module}.pro.in sip/${module}/${module}mod.sip'" sip4 -I ${STAGING_SIPDIR} -I sip ${SIPTAGS} ${FEATURES} -c ${module} -b ${module}/${module}.sbf \ sip/${module}/${module}mod.sip || die "Error calling sip on ${module}" - cat ${module}/${module}.sbf | sed s,target,TARGET, \ - | sed s,sources,SOURCES, \ - | sed s,headers,HEADERS, \ - | sed s,"moc_HEADERS =","HEADERS +=", \ - >${module}/${module}.pro + sed -e 's,target,TARGET,' -e 's,sources,SOURCES,' -e 's,headers,HEADERS,' \ + ${module}/${module}.sbf | sed s,"moc_HEADERS =","HEADERS +=", \ + >${module}/${module}.pro echo "TEMPLATE=lib" >>${module}/${module}.pro [ "${module}" = "qt" ] && echo "" >>${module}/${module}.pro [ "${module}" = "qtcanvas" ] && echo "" >>${module}/${module}.pro |