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

link_with: isn't flattened #1764

Closed
jon-turney opened this issue May 9, 2017 · 0 comments
Closed

link_with: isn't flattened #1764

jon-turney opened this issue May 9, 2017 · 0 comments

Comments

@jon-turney
Copy link
Member

extracted from xserver meson.build, with the maze of conditionals removed for clarity:

project('test', 'c')

libxserver_dri3 = []
libxserver = [ libxserver_dri3 ]

executable('Xephyr', 'xephyr.c', link_with: [ libxserver ])

fails with

Meson encountered an error in file meson.build, line 6, column 0:
Link target [] is not library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants