Before I post here, I tried to add `target_link_libraries(elfdeps PRIVATE m)`
and `target_link_options(elfdeps PRIVATE "LINKER:--copy-dt-needed-entries")`.
But it doesn't works.
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/discussions/3430
When I trying to build following the `INSTALL` file, a linking problem blocks
me.
I'm tried modify the `CMakeLists.txt` `tools/CMakeLists.txt`, but it doesn't
works.
My commands:
```shell
mkdir _build
cd _build
cmake .. -DLUA_LIBRARIES=/root/lua-5.4.7/src/liblua.a
-DLUA_INCLUDE_DIR=../../lua-5
> We don't generally endorse or support static linkage because it's nothing but
> a headache.
But I read the docs of lua.org, there's no guide about compile lua to a dynamic
library.
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/discussion