rhx / SwiftGtk

A Swift wrapper around gtk-3.x and gtk-4.x that is largely auto-generated from gobject-introspection
https://rhx.github.io/SwiftGtk/
BSD 2-Clause "Simplified" License
317 stars 26 forks source link

Not building with latest GTK on Mac (Home-brew GTK 3.24.21) #28

Closed lschmierer closed 4 years ago

lschmierer commented 4 years ago

With GTK 3.24.21, pkg-config adds additional commas after the -framework flag like -framework,Cocoa.

Using something like | tr ',' ' ' or adapting the the sed parameters for LINKFLAGS in config.sh fixes this.

rhx commented 4 years ago

Fixed now, thank a lot!

lschmierer commented 3 years ago

This needs to be changed for the example projects like https://github.com/rhx/SwiftHelloGtk as well, I guess.

rhx commented 3 years ago

Yes. They should all be updated by now.