pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

devel/lua-compat53 build error on macOS



Hi,

Building devel/lua-compat53 on macOS 10.15 and fails with the following
error:

---
clang: error: invalid argument '-bundle' not allowed with '-dynamiclib'
--- tests/testmod.so ---
clang: error: invalid argument '-bundle' not allowed with '-dynamiclib'
--- table.so ---
clang: error: invalid argument '-bundle' not allowed with '-dynamiclib'
---

The build succeeds if -shared is removed from LDFLAGS (in files/Makefile) -
I believe that's correct behaviour for macOS as -dynamiclib is still
present during linking, so the .so files are still dylibs?

Cheers, MJ
--
Michael-John Turner * mj%mjturner.net@localhost * http://mjturner.net/

Home | Main Index | Thread Index | Old Index