Quantcast
Channel: User HolyBlackCat - Stack Overflow
Viewing all articles
Browse latest Browse all 1287

Comment by HolyBlackCat on How to static link SDL library with gcc?

$
0
0
When linking libraries statically, you must also statically link all their dependencies. Try running pkgconf --libs --static sdl2, this should give you the correct flags (or pkg-config instead of pkgconf) (on some distros, SDL2 instead of sdl2).

Viewing all articles
Browse latest Browse all 1287

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>