mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-03 02:10:04 +00:00
fontforge: Link with libpython3
Helps building with python3 Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = " \
|
|||||||
file://LICENSE;md5=d042f3d2a8fd7208b704a499168e3c89 \
|
file://LICENSE;md5=d042f3d2a8fd7208b704a499168e3c89 \
|
||||||
"
|
"
|
||||||
|
|
||||||
DEPENDS = "glib-2.0 pango giflib tiff libxml2 jpeg libtool uthash gettext-native"
|
DEPENDS = "python3 glib-2.0 pango giflib tiff libxml2 jpeg libtool uthash gettext-native"
|
||||||
DEPENDS_append_class-target = " libxi"
|
DEPENDS_append_class-target = " libxi"
|
||||||
|
|
||||||
inherit autotools pkgconfig python3native features_check gettext gtk-icon-cache mime mime-xdg
|
inherit autotools pkgconfig python3native features_check gettext gtk-icon-cache mime mime-xdg
|
||||||
@@ -20,9 +20,12 @@ SRC_URI = "git://github.com/${BPN}/${BPN}.git \
|
|||||||
"
|
"
|
||||||
S = "${WORKDIR}/git"
|
S = "${WORKDIR}/git"
|
||||||
|
|
||||||
EXTRA_OECONF += "--without-libuninameslist"
|
EXTRA_OECONF += "--without-libuninameslist --enable-python-scripting --enable-python-extension"
|
||||||
EXTRA_OECONF_append_class-native = " with_x=no"
|
EXTRA_OECONF_append_class-native = " with_x=no"
|
||||||
|
|
||||||
|
LDFLAGS += "-lpython${PYTHON_BASEVERSION}${PYTHON_ABI}"
|
||||||
|
BUILD_LDFLAGS += "-lpython${PYTHON_BASEVERSION}${PYTHON_ABI}"
|
||||||
|
|
||||||
#do_configure_prepend() {
|
#do_configure_prepend() {
|
||||||
# uthash sources are expected in uthash/src
|
# uthash sources are expected in uthash/src
|
||||||
# mkdir -p ${S}/uthash/src
|
# mkdir -p ${S}/uthash/src
|
||||||
|
|||||||
Reference in New Issue
Block a user