Advertisement
Guest User

fix-openjade-yocto-issue

a guest
Aug 20th, 2012
616
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.93 KB | None | 0 0
  1. diff --git a/meta/recipes-devtools/openjade/openjade-native_1.3.2.bb b/meta/recipes-devtools/openjade/openjade-native_1.3.2.bb
  2. index 266210d..6e84398 100644
  3. --- a/meta/recipes-devtools/openjade/openjade-native_1.3.2.bb
  4. +++ b/meta/recipes-devtools/openjade/openjade-native_1.3.2.bb
  5. @@ -23,8 +23,12 @@ SRC_URI[sha256sum] = "1d2d7996cc94f9b87d0c51cf0e028070ac177c4123ecbfd7ac1cb8d0b7
  6.  
  7. inherit autotools native
  8.  
  9. +# neeraj link statically to local libs instead of shared because there is
  10. +# and issue with libogrove.so, which doesnt get linked to openjade binary
  11. +# although the libospgrove.so uses it (boom and it fails).
  12. EXTRA_OECONF = "--enable-spincludedir=${STAGING_INCDIR}/OpenSP \
  13. - --enable-splibdir=${STAGING_LIBDIR}"
  14. + --enable-splibdir=${STAGING_LIBDIR} \
  15. + --enable-static --disable-shared"
  16.  
  17. # We need to set datadir explicitly, but adding it to EXTRA_OECONF
  18. # results in it being specified twice when configure is run.
  19. @@ -55,12 +59,16 @@ do_install() {
  20. # Refer to http://www.linuxfromscratch.org/blfs/view/stable/pst/openjade.html
  21. # for details.
  22. install -d ${D}${bindir}
  23. - install -m 0755 ${S}/jade/.libs/openjade ${D}${bindir}/openjade
  24. + # openjade is no longer built with shared lib option due to a bug
  25. + # (see the EXTRA_OECONF options for details).
  26. + #install -m 0755 ${S}/jade/.libs/openjade ${D}${bindir}/openjade
  27. + install -m 0755 ${S}/jade/openjade ${D}${bindir}/openjade
  28. ln -sf openjade ${D}${bindir}/jade
  29.  
  30. - oe_libinstall -a -so -C style libostyle ${D}${libdir}
  31. - oe_libinstall -a -so -C spgrove libospgrove ${D}${libdir}
  32. - oe_libinstall -a -so -C grove libogrove ${D}${libdir}
  33. + # EXTRA_OECONF (see above) now disables shared lib
  34. + #oe_libinstall -a -so -C style libostyle ${D}${libdir}
  35. + #oe_libinstall -a -so -C spgrove libospgrove ${D}${libdir}
  36. + #oe_libinstall -a -so -C grove libogrove ${D}${libdir}
  37.  
  38. install -d ${D}${datadir}/sgml/openjade-${PV}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement