Skip to content

Instantly share code, notes, and snippets.

@jdarge
Created October 22, 2023 14:55
Show Gist options
  • Save jdarge/38fe4594986579224a03529066547502 to your computer and use it in GitHub Desktop.
Save jdarge/38fe4594986579224a03529066547502 to your computer and use it in GitHub Desktop.
Fish Shell pkg-config workaround...
gcc -o run main.c $(pkg-config --cflags --libs gtk4 | perl -pe 's/\s+/\n/g')
@jdarge
Copy link
Author

jdarge commented Oct 22, 2023

alternatively:
sh -c 'gcc -o run main.c $(pkg-config --cflags --libs gtk4)'

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