phoboslab / qoi

The “Quite OK Image Format” for fast, lossless image compression
MIT License
6.92k stars 330 forks source link

use the `-I` flag with gcc to include the files instead of of forcing you to sym/hard link them to the directory #188

Open walksanatora opened 2 years ago

walksanatora commented 2 years ago

replace gcc qoiconv.c -std=c99 -O3 -o qoiconv with gcc qoiconv.c -std=c99 -O3 -I/usr/include/stb -o qoiconv in qoiconv.c instead of forcing you to copy the files over

amstan commented 2 years ago

Heh, I had the same suggestion the other day on the AUR package: https://aur.archlinux.org/cgit/aur.git/commit/?h=qoi-git&id=fdf1cb1abca3b4bb2789015ea8f16a7df38ce1e9

It might be easier on the maintainer if this is in pull request form?