mirror of
https://github.com/nmap/nmap.git
synced 2026-08-03 22:29:06 +00:00
Add openssl argument for specifying openssl location in ./configure line
This commit is contained in:
parent
ba1ccf8f43
commit
e5f02fb2fd
1 changed files with 4 additions and 1 deletions
|
|
@ -2,6 +2,9 @@
|
|||
# --define "static 1"
|
||||
# to the rpmbuild command line. To build without Ncat, add
|
||||
# --define "buildncat 0"
|
||||
#
|
||||
# To specify openssl dir, add something like:
|
||||
# --define "openssl /usr/local/ssl"
|
||||
|
||||
%define name nmap
|
||||
%define version @VERSION@
|
||||
|
|
@ -44,7 +47,7 @@ both console and graphical versions are available.
|
|||
%setup -q
|
||||
|
||||
%build
|
||||
%configure --with-openssl --without-zenmap --with-ndiff --with-libdnet=included --with-libpcap=included --with-libpcre=included --with-liblua=included
|
||||
%configure --with-openssl=%{openssl} --without-zenmap --with-ndiff --with-libdnet=included --with-libpcap=included --with-libpcre=included --with-liblua=included
|
||||
%if "%{buildncat}" == "0"
|
||||
%configure --without-ncat
|
||||
%endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue