diff options
author | Attila Molnar <attilamolnar@hush.com> | 2016-12-29 16:05:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-29 16:05:19 +0100 |
commit | b16bc08b2c7dd538f33aa920504c9f476582d356 (patch) | |
tree | d32d41adc9f6afc2aa18c7306ea7f92e5a92f68c /configure | |
parent | 2d3564eb47c4be93aba8254db9a3a3524e935b5e (diff) | |
parent | 27facf2e0cc75da52ce3acf2c21a06ea26d1d55d (diff) |
Merge pull request #1273 from SaberUK/master+bs
Fix the clock_gettime() test on macOS Sierra
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -155,7 +155,7 @@ unless ($config{CXX}) { } my %compiler = get_compiler_info($config{CXX}); -$config{HAS_CLOCK_GETTIME} = run_test 'clock_gettime()', test_file($config{CXX}, 'clock_gettime.cpp', '-lrt'); +$config{HAS_CLOCK_GETTIME} = run_test 'clock_gettime()', test_file($config{CXX}, 'clock_gettime.cpp', $^O eq 'darwin' ? undef : '-lrt'); $config{HAS_EVENTFD} = run_test 'eventfd()', test_file($config{CXX}, 'eventfd.cpp'); if ($config{HAS_EPOLL} = run_test 'epoll', test_header($config{CXX}, 'sys/epoll.h')) { |