Displaying 1 result from an estimated 1 matches for "ssh_ldflags".
2001 Oct 07
3
Using -lssh as shared library
...dcoded" into link and dep
lines in Makefile, so if there is no libopenbsd-compat
(but it's contents is within -lssh), link will be funny.
Second patch, openssh-2.9.9p2-ssh_libs.diff, introduces
two make variables, SSH_LIBS="libopenbsd-compat.a libssl.a",
for dependence lines, and SSH_LDFLAGS="-lssl -lopenbsd-compat",
for link lines, and replaces hardcoded libssl.a etc with
those 2 variables.
Note that before the change, ssh-keyscan linked with -lssh
twice:
$(LD) -o $@ ssh-keyscan.o $(LDFLAGS) -lssh -lopenbsd-compat -lssh $(LIBS)
Looking into -lssh and -lopenbsd-compat, I do...