Skip to content

Commit 1da4606

Browse files
committed
Postfix: Add sles12 support for C/C++ 8.0.12 release
1 parent da3e920 commit 1da4606

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packaging/mysql-connector-c++.spec.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,9 @@ to develop MySQL client applications in C++.
9090
export CC=/opt/rh/devtoolset-7/root/usr/bin/gcc
9191
export CXX=/opt/rh/devtoolset-7/root/usr/bin/g++
9292
%endif
93+
%if 0%{?fedora} || 0%{?rhel}
9394
mkdir build && pushd build
95+
%endif
9496
%cmake .. -DCMAKE_BUILD_TYPE=RelWithDebInfo -DWITH_JDBC=ON -DWITH_SSL=system %{?mysql_opt}
9597
make %{?_smp_mflags} VERBOSE=1
9698
popd

0 commit comments

Comments
 (0)