mirror of https://gitee.com/bigwinds/arangodb
solaris doesn't automatically include socket,nsl libs
"6. glib2 ... need to add -lsocket to LDFLAGS or else ... fails with undefined symbol ref to "socket"" http://users.sdsc.edu/~glockwood/notes/index.php?note=S9STACK
This commit is contained in:
parent
aa388bf119
commit
4a57954a17
|
@ -112,7 +112,7 @@ case $target in
|
|||
CC="gcc -std=gnu99"
|
||||
CPPFLAGS=" -I/opt/local/include -L/opt/local/lib"
|
||||
CXXFLAGS="-static-libstdc++ -D_GLIBCXX_USE_C99"
|
||||
LDFLAGS="-Wl,-rpath,/opt/local/lib -L/opt/local/lib"
|
||||
LDFLAGS="-Wl,-rpath,/opt/local/lib,-lnsl,-lsocket -L/opt/local/lib"
|
||||
;;
|
||||
|
||||
armv7l-*-linux-gnueabihf)
|
||||
|
|
Loading…
Reference in New Issue