Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/meta/recipes-devtools/openjade/openjade-native_1.3.2.bb b/meta/recipes-devtools/openjade/openjade-native_1.3.2.bb
- index 266210d..6e84398 100644
- --- a/meta/recipes-devtools/openjade/openjade-native_1.3.2.bb
- +++ b/meta/recipes-devtools/openjade/openjade-native_1.3.2.bb
- @@ -23,8 +23,12 @@ SRC_URI[sha256sum] = "1d2d7996cc94f9b87d0c51cf0e028070ac177c4123ecbfd7ac1cb8d0b7
- inherit autotools native
- +# neeraj link statically to local libs instead of shared because there is
- +# and issue with libogrove.so, which doesnt get linked to openjade binary
- +# although the libospgrove.so uses it (boom and it fails).
- EXTRA_OECONF = "--enable-spincludedir=${STAGING_INCDIR}/OpenSP \
- - --enable-splibdir=${STAGING_LIBDIR}"
- + --enable-splibdir=${STAGING_LIBDIR} \
- + --enable-static --disable-shared"
- # We need to set datadir explicitly, but adding it to EXTRA_OECONF
- # results in it being specified twice when configure is run.
- @@ -55,12 +59,16 @@ do_install() {
- # Refer to http://www.linuxfromscratch.org/blfs/view/stable/pst/openjade.html
- # for details.
- install -d ${D}${bindir}
- - install -m 0755 ${S}/jade/.libs/openjade ${D}${bindir}/openjade
- + # openjade is no longer built with shared lib option due to a bug
- + # (see the EXTRA_OECONF options for details).
- + #install -m 0755 ${S}/jade/.libs/openjade ${D}${bindir}/openjade
- + install -m 0755 ${S}/jade/openjade ${D}${bindir}/openjade
- ln -sf openjade ${D}${bindir}/jade
- - oe_libinstall -a -so -C style libostyle ${D}${libdir}
- - oe_libinstall -a -so -C spgrove libospgrove ${D}${libdir}
- - oe_libinstall -a -so -C grove libogrove ${D}${libdir}
- + # EXTRA_OECONF (see above) now disables shared lib
- + #oe_libinstall -a -so -C style libostyle ${D}${libdir}
- + #oe_libinstall -a -so -C spgrove libospgrove ${D}${libdir}
- + #oe_libinstall -a -so -C grove libogrove ${D}${libdir}
- install -d ${D}${datadir}/sgml/openjade-${PV}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement