-
Notifications
You must be signed in to change notification settings - Fork 125
Open
Description
Hi, how can I static link seasocks? I did not found anything on the documentation..
I have tried this:
LIBRARIES = -lm /home/user/seasocks/build/src/main/c/libseasocks.a
but getting these errors:
/usr/bin/ld: /home/user/seasocks/build/src/main/c/libseasocks.a(Server.cpp.o): relocation R_X86_64_PC32 against symbol `_ZTVN8seasocks6ServerE' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status
I suppose there is an extra step when I'm building seasocks?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels