Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

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

Closed
mistydemeo opened this Issue · 1 comment

3 participants

@mistydemeo

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

I addressed this in #212

@tj tj closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.