Added a note on static Windows linking to the using-libui.md that I overlooked all this time until I realized we needed this now.

This commit is contained in:
Pietro Gagliardi 2019-05-04 21:49:07 -04:00
parent ee3e587ddc
commit 7424a9ea6c
1 changed files with 2 additions and 0 deletions

View File

@ -130,6 +130,8 @@ CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "manifest.xml"
Pass this file into `rc` (MSVC)/`windres` (MinGW) and then pass the output into your linker.
With MinGW-w64, you must link as C++ (for instance, with `g++`), as libui is written in C++ on Windows.
#### Unix
At a minimum, you'll need to link against GTK+ itself. As with compiling, the preferred way to get the correct linker flags is with `pkg-config`. For instance: