forked from pool/cura-engine
Accepting request 570274 from home:StefanBruens:3dPrinting
remove library hack, upstream intention was to link statically (default is changed by distribution default flag CMAKE_SHARED_LIBS=true) OBS-URL: https://build.opensuse.org/request/show/570274 OBS-URL: https://build.opensuse.org/package/show/science/cura-engine?expand=0&rev=14
This commit is contained in:
parent
7d61688d3b
commit
af32a5bb81
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user