Ludovic LANGE <ll-notmuchmail@lange.nom.fr> writes: > On OS X, the library ends with .dylib (instead of .so). I also added > the .dll handling in any case. > Also, the flags '-Wl,--no-undefined' seems not accepted, so I excluded > them on OS X (only) If you have a chance, please check out the series at id:1420114600-28396-1-git-send-email-david@tethera.net In principle it should provide the same functionality as your patch, although hopefully in a more portable and generic way.