Skip to content

Fix tests libraries on macOS #44

@swaldhoer

Description

@swaldhoer

The test libraries can not be build, e.g., see Tracis CI:

[37/77] Linking build/clang/tests/libs/lib2.dylib
Undefined symbols for architecture x86_64:
  "_luaL_checkversion_", referenced from:
      _luaopen_lib2 in lib2.c.13.o
  "_luaL_setfuncs", referenced from:
      _luaopen_lib2 in lib2.c.13.o
  "_lua_createtable", referenced from:
      _luaopen_lib2 in lib2.c.13.o
  "_lua_gettop", referenced from:
      _id in lib2.c.13.o
  "_lua_setglobal", referenced from:
      _luaopen_lib2 in lib2.c.13.o
  "_lua_settop", referenced from:
      _luaopen_lib2 in lib2.c.13.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

These libraries must be built in order to run the full tests

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is neededmacOSApplies to macOSos-specificOnly applies to certain operating systems

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions