Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Installing pkg-config from source on OS X
Copy link

givingwu commented Aug 2, 2019

First, thanks for your share.

And i am confusing about the first line of the code LDFLAGS="-framework CoreFoundation -framework Carbon" ./configure --with-internal-glib,

what's that means LDFLAGS="-framework CoreFoundation -framework Carbon"?

Copy link

meschbach commented Dec 30, 2019

OSX & iOS uses a mechanism for managing development resources such as a libraries called Frameworks. These are generally frameworks in the Software Engineering sense however might also just be libraries. The flag informs the tool chain to build against these libraries.

See Apple's documentation about it for more details.

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