diff options
| author | Khem Raj <raj.khem@gmail.com> | 2020-01-21 22:21:58 -0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2020-01-22 09:56:35 -0800 |
| commit | 2b67b882ee6c7c49b506e283988d115493a1ce9d (patch) | |
| tree | 46e9721335c4c6f9773b3ba74365685460d8d64f | |
| parent | 2767682e984fc612ab7e9aa4cf3d48e22eeebe04 (diff) | |
| download | meta-openembedded-2b67b882ee6c7c49b506e283988d115493a1ce9d.tar.gz | |
fontforge: Link with libpython3
Helps building with python3
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-oe/recipes-graphics/fontforge/fontforge_20190801.bb | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/meta-oe/recipes-graphics/fontforge/fontforge_20190801.bb b/meta-oe/recipes-graphics/fontforge/fontforge_20190801.bb index c12d01e2d6..1863f95f0f 100644 --- a/meta-oe/recipes-graphics/fontforge/fontforge_20190801.bb +++ b/meta-oe/recipes-graphics/fontforge/fontforge_20190801.bb | |||
| @@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = " \ | |||
| 6 | file://LICENSE;md5=d042f3d2a8fd7208b704a499168e3c89 \ | 6 | file://LICENSE;md5=d042f3d2a8fd7208b704a499168e3c89 \ |
| 7 | " | 7 | " |
| 8 | 8 | ||
| 9 | DEPENDS = "glib-2.0 pango giflib tiff libxml2 jpeg libtool uthash gettext-native" | 9 | DEPENDS = "python3 glib-2.0 pango giflib tiff libxml2 jpeg libtool uthash gettext-native" |
| 10 | DEPENDS_append_class-target = " libxi" | 10 | DEPENDS_append_class-target = " libxi" |
| 11 | 11 | ||
| 12 | inherit autotools pkgconfig python3native features_check gettext gtk-icon-cache mime mime-xdg | 12 | 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 \ | |||
| 20 | " | 20 | " |
| 21 | S = "${WORKDIR}/git" | 21 | S = "${WORKDIR}/git" |
| 22 | 22 | ||
| 23 | EXTRA_OECONF += "--without-libuninameslist" | 23 | EXTRA_OECONF += "--without-libuninameslist --enable-python-scripting --enable-python-extension" |
| 24 | EXTRA_OECONF_append_class-native = " with_x=no" | 24 | EXTRA_OECONF_append_class-native = " with_x=no" |
| 25 | 25 | ||
| 26 | LDFLAGS += "-lpython${PYTHON_BASEVERSION}${PYTHON_ABI}" | ||
| 27 | BUILD_LDFLAGS += "-lpython${PYTHON_BASEVERSION}${PYTHON_ABI}" | ||
| 28 | |||
| 26 | #do_configure_prepend() { | 29 | #do_configure_prepend() { |
| 27 | # uthash sources are expected in uthash/src | 30 | # uthash sources are expected in uthash/src |
| 28 | # mkdir -p ${S}/uthash/src | 31 | # mkdir -p ${S}/uthash/src |
