[packages/mysql-router] set INSTALL_LIBDIR to fix libdir issue
glen
glen at pld-linux.org
Tue Oct 27 16:37:08 CET 2015
commit a738d2d21a78c4ee91805c185a39d5a55269ec3d
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Tue Oct 27 17:37:03 2015 +0200
set INSTALL_LIBDIR to fix libdir issue
mysql-router.spec | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
---
diff --git a/mysql-router.spec b/mysql-router.spec
index f405159..afb7c1b 100644
--- a/mysql-router.spec
+++ b/mysql-router.spec
@@ -1,5 +1,4 @@
# TODO
-# - fix libdir
# - fix shared libs SONAME
Summary: MySQL Router
Name: mysql-router
@@ -31,7 +30,9 @@ enables developers to extend MySQL Router for custom use cases.
%build
install -d build
cd build
-%cmake ..
+%cmake \
+ -DINSTALL_LIBDIR=%{_libdir} \
+ ..
%{__make}
%install
@@ -41,9 +42,6 @@ rm -rf $RPM_BUILD_ROOT
%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/mysqlrouter
-# TODO: fix build instead
-%define _libdir %{_prefix}/lib
-
# no -devel yet
%{__rm} -r $RPM_BUILD_ROOT%{_includedir}/mysql/mysqlrouter
%{__rm} $RPM_BUILD_ROOT%{_libdir}/libmysqlharness.a
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/mysql-router.git/commitdiff/a738d2d21a78c4ee91805c185a39d5a55269ec3d
More information about the pld-cvs-commit
mailing list