mirror of
https://github.com/kakwa/uts-server
synced 2025-07-04 20:47:09 +02:00
adding a switch to link against glibc/dl for static compilation
This commit is contained in:
parent
01ec7b5a74
commit
2caed98049
2 changed files with 12 additions and 0 deletions
|
@ -40,3 +40,9 @@ uts-server is compiled using cmake:
|
|||
# Compile statically
|
||||
$ cmake . -DSTATIC=ON
|
||||
$ make
|
||||
|
||||
# Sometimes it might be necessary to link against glibc/dl.
|
||||
# In that case, the resulting binary is only partially static,
|
||||
# but it's not possible to do better than that.
|
||||
$ cmake . -DSTATIC=ON -DLINK_DL=ON
|
||||
$ make
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue