Nmap Development mailing list archives

Re: Nmap static build fails


From: Florian Roth <venom14 () gmail com>
Date: Tue, 18 Sep 2012 09:40:51 +0200

We figured out, why the "--enable-static" flag failed in generating a
usable Makefile.

Makefile
-----------------------
STATIC =
LDFLAGS = -Wl,-E  -Lnbase -Lnsock/src/ $(DBGFLAGS) $(STATIC)

The "STATIC" param is empty.
It is important, that the linker gets the flag as well.

The following commands did the job.

./configure --enable-static LDFLAGS="-static"
make
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


Current thread: