diff options
author | Andreas Müller <schnitzeltony@gmail.com> | 2017-12-17 19:21:43 +0100 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2017-12-27 07:47:00 -0800 |
commit | 85eedcfd2abb00da933d1ce00622df6a0c0c1ba2 (patch) | |
tree | 17e420fc5ddc6b5e72ad033009e31c884262e423 /meta-oe/recipes-support/fltk/fltk.bb | |
parent | 5a7a0abb179d0418475ca0f491cd1250ac728e44 (diff) | |
download | meta-openembedded-85eedcfd2abb00da933d1ce00622df6a0c0c1ba2.tar.gz |
fltk: do not suffix shared library names with '_SHARED'
This avoids unwanted linking against static libraries as happened for yoshimi.
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/fltk/fltk.bb')
-rw-r--r-- | meta-oe/recipes-support/fltk/fltk.bb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/fltk/fltk.bb b/meta-oe/recipes-support/fltk/fltk.bb index 619d1420a..6a3d1c9f9 100644 --- a/meta-oe/recipes-support/fltk/fltk.bb +++ b/meta-oe/recipes-support/fltk/fltk.bb | |||
@@ -4,6 +4,8 @@ DEPENDS = "alsa-lib zlib jpeg libpng libxext libxft" | |||
4 | 4 | ||
5 | inherit binconfig lib_package gtk-icon-cache mime | 5 | inherit binconfig lib_package gtk-icon-cache mime |
6 | 6 | ||
7 | SRC_URI += "file://0003-CMake-build-Force-shared-libs-with-unsuffixed-names.patch" | ||
8 | |||
7 | EXTRA_OECMAKE = " \ | 9 | EXTRA_OECMAKE = " \ |
8 | -DOPTION_BUILD_SHARED_LIBS=ON \ | 10 | -DOPTION_BUILD_SHARED_LIBS=ON \ |
9 | -DOPTION_USE_THREADS=ON \ | 11 | -DOPTION_USE_THREADS=ON \ |
@@ -15,6 +17,7 @@ EXTRA_OECMAKE = " \ | |||
15 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'opengl', d)}" | 17 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'opengl', d)}" |
16 | 18 | ||
17 | PACKAGECONFIG[examples] = "-DOPTION_BUILD_EXAMPLES=ON,-DOPTION_BUILD_EXAMPLES=OFF," | 19 | PACKAGECONFIG[examples] = "-DOPTION_BUILD_EXAMPLES=ON,-DOPTION_BUILD_EXAMPLES=OFF," |
20 | PACKAGECONFIG[cairo] = "-DOPTION_CAIRO=ON,-DOPTION_CAIRO=OFF,cairo" | ||
18 | PACKAGECONFIG[opengl] = "-DOPTION_USE_GL=ON,-DOPTION_USE_GL=OFF,virtual/libgl" | 21 | PACKAGECONFIG[opengl] = "-DOPTION_USE_GL=ON,-DOPTION_USE_GL=OFF,virtual/libgl" |
19 | PACKAGECONFIG[xinerama] = "-DOPTION_USE_XINERAMA=ON,-DOPTION_USE_XINERAMA=OFF,libxinerama" | 22 | PACKAGECONFIG[xinerama] = "-DOPTION_USE_XINERAMA=ON,-DOPTION_USE_XINERAMA=OFF,libxinerama" |
20 | PACKAGECONFIG[xfixes] = "-DOPTION_USE_XFIXES=ON,-DOPTION_USE_XFIXES=OFF,libxfixes" | 23 | PACKAGECONFIG[xfixes] = "-DOPTION_USE_XFIXES=ON,-DOPTION_USE_XFIXES=OFF,libxfixes" |