]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
build/rgw: unittest_rgw_dmclock_scheduler does not need Boost_LIBRARIES 27466/head
authorWillem Jan Withagen <wjw@digiware.nl>
Tue, 9 Apr 2019 14:49:09 +0000 (16:49 +0200)
committerWillem Jan Withagen <wjw@digiware.nl>
Tue, 9 Apr 2019 14:49:34 +0000 (16:49 +0200)
commitd24aa4f36bc4e308bf5e39ac3b29af900e02b024
tree03108c7399e3b3cd124a07a52765addbb6faefa5
parentf2bb87b7ec0ecdc6c6d8a1cfd30eb9637ef168c3
build/rgw: unittest_rgw_dmclock_scheduler does not need Boost_LIBRARIES

Redo fix, also see #26799

Otherwise linking could error like:
```
/usr/local/bin/ld: /usr/local/lib/libboost_python27.so: undefined reference to `PyUnicodeUCS4_FromEncodedObject'
/usr/local/bin/ld: /usr/local/lib/libboost_python27.so: undefined reference to `PyNumber_InPlaceDivide'
........
/usr/local/bin/ld: /usr/local/lib/libboost_python27.so: undefined reference to `PyStaticMethod_Type'
/usr/local/bin/ld: /usr/local/lib/libboost_python27.so: undefined reference to `PyTuple_Size'
c++: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[2]: *** [src/test/rgw/CMakeFiles/unittest_rgw_dmclock_scheduler.dir/build.make:147: bin/unittest_rgw_dmclock_scheduler] Error 1
```

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
src/test/rgw/CMakeLists.txt