omniorb-native_4.0.7.bb : Ugly hack removes omniorb libraries from build
authorPhilip Balister <philip@balister.org>
Thu, 19 Oct 2006 11:12:33 +0000 (11:12 +0000)
committerPhilip Balister <philip@balister.org>
Thu, 19 Oct 2006 11:12:33 +0000 (11:12 +0000)
                          system library directory. ossiecf needs this so
                          libtool does not try to link against them. We only
                          build this package so we can run omniidl.

packages/omniorb/omniorb-native_4.0.7.bb

index f9addd9..be729fe 100644 (file)
@@ -11,6 +11,11 @@ do_compile () {
        oe_runmake
 }
 
+# Ugly hack so libtool does not find native libs when building cross packages
+# We really only build this package for omniidl anyway
+do_stage_append() {
+       rm -f  ${STAGING_DIR}/${BUILD_SYS}/lib/libomni*
+}
 
 #do_stage() {
 #      install -m 0755 src/bison ${STAGING_BINDIR}/