@elextr Scintilla in Geany probably doesn't actually use threads
It will still be declaring and possibly using mutexes which may require libpthread. Check that wrapping with short lines and higher caching levels (`SCI_SETLAYOUTCACHE` except for `SC_CACHE_NONE`) doesn't fail as the wrapping code locks without checking for threading.