Skip to content

Conversation

@lazka
Copy link

@lazka lazka commented Dec 4, 2025

Include LIB_PKG_CONFIG_EXTRA_CFLAGS as DEC_PKG_CONFIG_EXTRA_CFLAGS
does not exist. On Windows this will expand to "-DDEF_DLL" so that
"dllimport" is enabled in "SvtJpegxs.h".

Rename "EB_DLL" to "DEF_DLL" in Cflags.private. "EB_DLL" does not exist
and by unsetting "DEF_DLL" we make sure that "dllimport" is not used
when linking the static lib.

@lazka lazka changed the title Fix .pc files for use under Windows Fix .pc file for use under Windows Dec 4, 2025
Include LIB_PKG_CONFIG_EXTRA_CFLAGS as DEC_PKG_CONFIG_EXTRA_CFLAGS
does not exist. On Windows this will expand to "-DDEF_DLL" so that
"dllimport" is enabled in "SvtJpegxs.h".

Rename "EB_DLL" to "DEF_DLL" in Cflags.private. "EB_DLL" does not exist
and by unsetting "DEF_DLL" we make sure that "dllimport" is not used
when linking the static lib.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant