diff options
author | Andrey Grozin <grozin@gentoo.org> | 2022-12-24 13:20:51 +0700 |
---|---|---|
committer | Andrey Grozin <grozin@gentoo.org> | 2022-12-24 13:20:51 +0700 |
commit | f8a5416a5d7ff63ebc486472f0ee36ad41db0f99 (patch) | |
tree | f43853e33a2be4dd146d353a5f97967e664d3cad /sci-visualization/gle/files/link.patch | |
parent | dev-games/godot: add 4.0_beta10 (diff) | |
download | gentoo-f8a5416a5d7ff63ebc486472f0ee36ad41db0f99.tar.gz gentoo-f8a5416a5d7ff63ebc486472f0ee36ad41db0f99.tar.bz2 gentoo-f8a5416a5d7ff63ebc486472f0ee36ad41db0f99.zip |
sci-visualization/gle: ebuild improvements
Signed-off-by: Andrey Grozin <grozin@gentoo.org>
Diffstat (limited to 'sci-visualization/gle/files/link.patch')
-rw-r--r-- | sci-visualization/gle/files/link.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/sci-visualization/gle/files/link.patch b/sci-visualization/gle/files/link.patch new file mode 100644 index 000000000000..b565670cbd09 --- /dev/null +++ b/sci-visualization/gle/files/link.patch @@ -0,0 +1,20 @@ +diff -r -U2 src.orig/gui/CMakeLists.txt src/gui/CMakeLists.txt +--- src.orig/gui/CMakeLists.txt 2022-04-14 02:47:12.000000000 +0700 ++++ src/gui/CMakeLists.txt 2022-12-19 10:21:59.026388957 +0700 +@@ -54,11 +54,14 @@ + $<$<PLATFORM_ID:Windows>:qgle.rc> + ) +-# no jpeg as its contianed in Qt ++# no jpeg as its contained in Qt ++# but need to add JPEG for Linux! ++# order matters: first static files (and libgle), then dynamic libraries + target_link_libraries ( qgle LINK_PUBLIC ++ libgle-graphics_s + ${ZLIB_LIBRARIES} ++ ${JPEG_LIBRARIES} + ${TIFF_LIBRARIES} + ${PNG_LIBRARIES} + ${PIXMAN_LIBRARIES} +- libgle-graphics_s + Qt::Core + Qt::Gui |