Files
RedBear-OS/local/recipes/libs/lcms2/source/plugins/threaded/src/Makefile.am
T
vasilito 1a9d77761e fix(qtdeclarative): properly generate qtquick-config.h features
The qtquick-config.h file was being generated empty by the cmake
build, causing 'division by zero in #if' errors in downstream
consumers (SDDM, KWin) because QT_CONFIG(quick_shadereffect) and
QT_CONFIG(quick_draganddrop) were undefined.

Two fixes:
1. Explicitly enable QT_FEATURE_quick_shadereffect and
   QT_FEATURE_quick_draganddrop in the cmake configuration.
2. Add a safety net that regenerates qtquick-config.h with the
   required feature definitions if cmake produces an empty file.
2026-06-21 15:12:40 +03:00

28 lines
804 B
Makefile

#
# Makefile for building lcms2_threaded plugin
#
# Don't require all the GNU mandated files
AUTOMAKE_OPTIONS = 1.7 foreign
includedir = ${prefix}/include
# Shared libraries built in this directory
lib_LTLIBRARIES = liblcms2_threaded.la
LIBRARY_CURRENT = @LIBRARY_CURRENT@
LIBRARY_REVISION = @LIBRARY_REVISION@
LIBRARY_AGE = @LIBRARY_AGE@
AM_CPPFLAGS = -Ofast -I$(top_builddir)/include -I$(top_srcdir)/include -I$(srcdir)/../include -I$(builddir)/../include
liblcms2_threaded_la_LDFLAGS = -no-undefined \
-version-info $(LIBRARY_CURRENT):$(LIBRARY_REVISION):$(LIBRARY_AGE)
liblcms2_threaded_la_LIBADD = $(LCMS_LIB_DEPLIBS) $(top_builddir)/src/liblcms2.la
liblcms2_threaded_la_SOURCES = threaded_split.c threaded_core.c threaded_main.c threaded_scheduler.c threaded_internal.h