This PR will include fixes for building/testing Platypus on OS X 10.5.
Use -dynamiclib instead of -shared. On more recent versions of Xcode -shared is accepted as an alias for the more correct -dynamiclib, but we should use the more correct form for older versions of Xcode.
Probe for strnlen which isn't provided by older libcs FFI_PL_PROBE_STRNLEN.
Be a little smarter about detecting the C++ linker. Using the C++ compiler command line is not always the right thing.
Normally we wouldn't support such an old version of macOS, but I recently resurrected my old G5, and there is some utility in being able to run Platypus on it, since it is a big endian arch, and I don't have a good way to test such otherwise.
This PR will include fixes for building/testing Platypus on OS X 10.5.
-dynamiclib
instead of-shared
. On more recent versions of Xcode-shared
is accepted as an alias for the more correct-dynamiclib
, but we should use the more correct form for older versions of Xcode.strnlen
which isn't provided by older libcsFFI_PL_PROBE_STRNLEN
.Normally we wouldn't support such an old version of macOS, but I recently resurrected my old G5, and there is some utility in being able to run Platypus on it, since it is a big endian arch, and I don't have a good way to test such otherwise.