1
0
Fork 0
mirror of https://github.com/kakwa/uts-server synced 2025-07-03 12:07:02 +02:00

adding a switch to link against glibc/dl for static compilation

This commit is contained in:
kakwa 2017-01-29 17:33:31 +01:00
parent 18123ab448
commit 4abe7a0f3d
2 changed files with 12 additions and 0 deletions

View file

@ -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