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

provide pkg-config file for the proper build-flags for externals #13

Open
umlaeute opened this issue Jul 15, 2015 · 4 comments
Open

provide pkg-config file for the proper build-flags for externals #13

umlaeute opened this issue Jul 15, 2015 · 4 comments

Comments

@umlaeute
Copy link
Contributor

it would be great to have a @[email protected] file (or similar), that outputs the proper CFLAGS and LIBS for dynamically linking with flext on @System@.

e.g.

 $ pkg-config --cflags pd-flext
 -I/usr/local/include/flext -DPD -DFLEXT_SHARED
 $ pkg-config --libs pd-flext
 -lflext-pd

lower priority: pkg-config also has a --static flags that outputs flags for static linking:

 $ pkg-config --static --cflags pd-flext
 -I/usr/local/include/flext -DPD
 $ pkg-config --static --libs pd-flext
 -lflext-pd_s
@grrrr
Copy link
Owner

grrrr commented Jul 15, 2015

I am inexperienced with this, could you provide a first version that i shall refine?

@umlaeute
Copy link
Contributor Author

yep. but not today :-)

@umlaeute
Copy link
Contributor Author

it also seems that the --static just won't work as expected...

@grrrr
Copy link
Owner

grrrr commented Jul 15, 2015

Leaving the issue open until the contribution has been checked on OSX.

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