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

pkg-config --libs not consulted for LDFLAGS? #257

Closed
mistydemeo opened this issue Feb 13, 2013 · 1 comment
Closed

pkg-config --libs not consulted for LDFLAGS? #257

mistydemeo opened this issue Feb 13, 2013 · 1 comment

Comments

@mistydemeo
Copy link

I have several canvas dependencies installed in nonstandard prefixes using homebrew. I've set the PKG_CONFIG_PATH appropriately and canvas finds the dependencies, but fails while linking due to missing -L paths:

ld: library not found for -lpixman-1

Setting the LDFLAGS manually before the build, using pkg-config, works. Is canvas not setting these flags when querying pkg-config?

export LDFLAGS="$(pkg-config --libs cairo) $(pkg-config --libs pixman-1)"
@jhurliman
Copy link
Contributor

I addressed this in #212

@tj tj closed this as completed Feb 15, 2013
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

3 participants