Skip to content
Snippets Groups Projects
Commit 15b823f0 authored by Yaroslav Lobankov's avatar Yaroslav Lobankov Committed by Yaroslav Lobankov
Browse files

build: fix error on FreeBSD 13.1

This patch fixes the following error while tarantool build on
FreeBSD 13.1:

    [100%] Linking CXX executable watcher.test
    ld: error: undefined symbol: set_sigint_cb
    >>> referenced by console.c:261 (lua/console.c:261)
    >>>               console.c.o:(lbox_console_readline) in
                        archive ../../src/box/libbox.a
    >>> referenced by console.c:342 (lua/console.c:342)
    >>>               console.c.o:(lbox_console_readline) in
                        archive ../../src/box/libbox.a
    >>> referenced by console.c:352 (lua/console.c:352)
    >>>               console.c.o:(lbox_console_readline) in
                        archive ../../src/box/libbox.a
    >>> referenced 1 more times
    c++: error: linker command failed with exit code 1
        (use -v to see invocation)
    gmake[2]: *** [test/unit/CMakeFiles/watcher.test.dir/build.make:152:
        test/unit/watcher.test] Error 1
    gmake[1]: *** [CMakeFiles/Makefile2:10528:
        test/unit/CMakeFiles/watcher.test.dir/all] Error 2
    gmake: *** [Makefile:156: all] Error 2

NO_DOC=minor changes
NO_TEST=minor changes
NO_CHANGELOG=minor changes
parent 6213907c
No related branches found
No related tags found
No related merge requests found
......@@ -305,7 +305,7 @@ target_link_libraries(popen.test misc unit core)
add_executable(serializer.test serializer.c box_test_utils.c)
target_link_libraries(serializer.test unit box ${LUAJIT_LIBRARIES})
add_executable(watcher.test watcher.c)
add_executable(watcher.test watcher.c box_test_utils.c)
target_link_libraries(watcher.test unit box)
add_executable(grp_alloc.test grp_alloc.c box_test_utils.c)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment