strip requires -ru on Darwin to actually strip dylibs
While plain strip
on OS X actually strips the symbols of executables, for shared libraries it just prints the symbol table. In order to actually strip the symbols you must pass -r -u
, but cmake
currently does not support passing options to strip
.