diff --git a/cura-engine.changes b/cura-engine.changes index c157ad1..e93e38a 100644 --- a/cura-engine.changes +++ b/cura-engine.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Jan 27 21:49:49 UTC 2018 - stefan.bruens@rwth-aachen.de + +- Link private lib_CuraEngine statically to binary + ------------------------------------------------------------------- Thu Jan 25 08:34:20 UTC 2018 - adrian@suse.de diff --git a/cura-engine.spec b/cura-engine.spec index 2855699..3d91cac 100644 --- a/cura-engine.spec +++ b/cura-engine.spec @@ -47,7 +47,8 @@ It is part of the larger open source project called "Cura". export CC=gcc-6 export CXX=g++-6 %endif -%cmake -DCMAKE_POSITION_INDEPENDENT_CODE="true" +# make sure lib_CuraEngine is statically build and linked +%cmake -DCMAKE_POSITION_INDEPENDENT_CODE="true" -DBUILD_SHARED_LIBS="false" %make_jobs %install @@ -55,13 +56,10 @@ cd build %make_install install -Dm0644 %{SOURCE1} %{buildroot}%{_mandir}/man1/CuraEngine.1 -# hack... not ready for the distro -install -Dm0755 lib_CuraEngine.so %{buildroot}%{_libdir}/lib_CuraEngine.so %files %defattr(-,root,root,-) %_bindir/CuraEngine -%_libdir/* %_mandir/man1/CuraEngine.1* %changelog