Skip to content
Snippets Groups Projects
Commit a6f8329c authored by Andrew's avatar Andrew
Browse files

modules_api fix for MacOS. test fixed

parent 393e399a
No related branches found
Tags 1.7.1
No related merge requests found
include_directories(${CMAKE_BINARY_DIR}/src/trivia)
add_library(module_api SHARED module_api.c)
target_link_libraries(module_api -rdynamic)
set_target_properties(module_api PROPERTIES PREFIX "")
if(TARGET_OS_DARWIN)
set_target_properties(module_api PROPERTIES LINK_FLAGS "-undefined dynamic_lookup")
endif(TARGET_OS_DARWIN)
add_dependencies(module_api generate_module_api)
......@@ -2,7 +2,7 @@
box.cfg{logger = "tarantool.log"}
package.cpath = '../app/?.so;'..package.cpath
package.cpath = '../app/?.so;../app/?.dylib;'..package.cpath
local test = require('tap').test("module_api", function(test)
test:plan(7)
......
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