Add exception to linker as OpenBSD doesn't like static

This commit is contained in:
Victor Hora 2018-07-26 16:22:22 -04:00 committed by Felipe Zimmerle
parent 0c0b09ec52
commit dce2fed310
No known key found for this signature in database
GPG Key ID: E6DFB08CE8B11277

View File

@ -332,7 +332,7 @@ AM_CONDITIONAL([USE_MUTEX_ON_PM], [test $mutexPm = true])
# General link options
if test "$PLATFORM" != "MacOSX"; then
if test "$PLATFORM" != "MacOSX" -a "$PLATFORM" != "OpenBSD"; then
GLOBAL_LDADD="-lrt "
fi