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

add some dynamic optional linkage for FreeBSD on gcc_s

This commit is contained in:
kakwa 2017-01-29 17:44:45 +01:00
parent 4abe7a0f3d
commit e701cd7211
2 changed files with 10 additions and 7 deletions

View file

@ -38,11 +38,8 @@ uts-server is compiled using cmake:
$ make
# 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
# (in some cases, it might be necessary to still
# link some libraries like dl or gcc_s, if necessary,
# add -DDL_LINK=ON and/or -DGCC_S_LINK=ON)
$ cmake . -DSTATIC=ON # -DDL_LINK=ON -DGCC_S_LINK=ON
$ make