mysql.spec.sh:
Made yaSSL support an option (off by default) support-files/mysql.spec.sh: Made yaSSL support an option (off by default)
This commit is contained in:
parent
a43ec392af
commit
e27cb111cd
@ -1,8 +1,15 @@
|
|||||||
%define mysql_version @VERSION@
|
%define mysql_version @VERSION@
|
||||||
|
|
||||||
# use "rpmbuild --with static" or "rpm --define '_with_static 1'" (for RPM 3.x)
|
# use "rpmbuild --with static" or "rpm --define '_with_static 1'" (for RPM 3.x)
|
||||||
# to enable static linking (off by default)
|
# to enable static linking (off by default)
|
||||||
%{?_with_static:%define STATIC_BUILD 1}
|
%{?_with_static:%define STATIC_BUILD 1}
|
||||||
%{!?_with_static:%define STATIC_BUILD 0}
|
%{!?_with_static:%define STATIC_BUILD 0}
|
||||||
|
|
||||||
|
# use "rpmbuild --with yassl" or "rpm --define '_with_yassl 1'" (for RPM 3.x)
|
||||||
|
# to build with yaSSL support (off by default)
|
||||||
|
%{?_with_yassl:%define YASSL_BUILD 1}
|
||||||
|
%{!?_with_yassl:%define YASSL_BUILD 0}
|
||||||
|
|
||||||
%if %{STATIC_BUILD}
|
%if %{STATIC_BUILD}
|
||||||
%define release 0
|
%define release 0
|
||||||
%else
|
%else
|
||||||
@ -239,7 +246,9 @@ sh -c "PATH=\"${MYSQL_BUILD_PATH:-$PATH}\" \
|
|||||||
--with-unix-socket-path=/var/lib/mysql/mysql.sock \
|
--with-unix-socket-path=/var/lib/mysql/mysql.sock \
|
||||||
--prefix=/ \
|
--prefix=/ \
|
||||||
--with-extra-charsets=complex \
|
--with-extra-charsets=complex \
|
||||||
|
%if %{YASSL_BUILD}
|
||||||
--with-yassl \
|
--with-yassl \
|
||||||
|
%endif
|
||||||
--exec-prefix=%{_exec_prefix} \
|
--exec-prefix=%{_exec_prefix} \
|
||||||
--libexecdir=%{_sbindir} \
|
--libexecdir=%{_sbindir} \
|
||||||
--libdir=%{_libdir} \
|
--libdir=%{_libdir} \
|
||||||
@ -687,6 +696,10 @@ fi
|
|||||||
%changelog
|
%changelog
|
||||||
* Wed Oct 19 2005 Kent Boortz <kent@mysql.com>
|
* Wed Oct 19 2005 Kent Boortz <kent@mysql.com>
|
||||||
|
|
||||||
|
- Made yaSSL support an option (off by default)
|
||||||
|
|
||||||
|
* Wed Oct 19 2005 Kent Boortz <kent@mysql.com>
|
||||||
|
|
||||||
- Enabled yaSSL support
|
- Enabled yaSSL support
|
||||||
|
|
||||||
* Sat Oct 15 2005 Kent Boortz <kent@mysql.com>
|
* Sat Oct 15 2005 Kent Boortz <kent@mysql.com>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user