Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

meson generates an empty variable in harfbuzz-config.cmake #4397

Open
jcelerier opened this issue Sep 4, 2023 · 3 comments
Open

meson generates an empty variable in harfbuzz-config.cmake #4397

jcelerier opened this issue Sep 4, 2023 · 3 comments

Comments

@jcelerier
Copy link
Contributor

if ("@default_library@" MATCHES "static")

I'm building harfbuzz with:

meson build -Dbuildtype=release -Ddefault_library=static -Dglib=disabled -Dgobject=disabled -Dicu=disabled -Ddocs=disabled -Dprefix=$INSTALL_PREFIX/harfbuzz 

the generated (by meson I guess?) file reads, on the above line:

if ("" MATCHES "static")

while it should be if("static" MATCHES "static")

@jcelerier jcelerier changed the title macOS: meson generates an empty variable here macOS: meson generates an empty variable in harfbuzz-config.cmake Sep 4, 2023
@behdad
Copy link
Member

behdad commented Sep 5, 2023

Our cmake is unmaintained. If you can send a PR we can merge. Thanks.

@jcelerier
Copy link
Contributor Author

the bug is in the meson code and I have no idea of how meson handles this.. if anyone explains to me then for sure I'll make a PR!

@jcelerier jcelerier changed the title macOS: meson generates an empty variable in harfbuzz-config.cmake meson generates an empty variable in harfbuzz-config.cmake Sep 5, 2023
@jcelerier
Copy link
Contributor Author

removed macOS as the same problem exists on win32

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

No branches or pull requests

2 participants