Nmap Development mailing list archives

ncat tests - linking problems


From: v4hn <me () v4hn de>
Date: Sat, 3 Aug 2013 17:17:30 +0200

Hey everyone,

thank you for developing
and maintaining this wonderful tool!

I found a minor problem with your
current make system: ncat's tests are build
with a wrong order of libraries.

The lua library depends on libdl, so libdl should
be listed _after_ lua in the compile command.
This type of dependency is the reason why $(LIBS)
is normally listed _last_ by default.
The attached patch changes this.

The problem only shows up when you compile
your system with -Wl,--as-needed and is therefore
a minor issue. Nevertheless, I would like
to see this fixed. :)


v4hn

Attachment: nmap-6.40-fix-lib-order.patch
Description:

Attachment: _bin
Description:

_______________________________________________
Sent through the dev mailing list
http://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/

Current thread: