Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37757463
en ru br
Репозитории ALT

Группа :: Engineering
Пакет: slic3r

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: slic3r-linker.patch
Скачать


diff -up Slic3r-1.3.0/xs/Build.PL.linker Slic3r-1.3.0/xs/Build.PL
--- Slic3r-1.3.0/xs/Build.PL.linker	2018-05-08 18:47:09.000000000 -0400
+++ Slic3r-1.3.0/xs/Build.PL	2018-06-25 10:48:55.421774896 -0400
@@ -30,6 +30,11 @@ push @cflags, qw(-std=c++11);
 
 my @ldflags = ();
 
+if (defined $ENV{SYSTEM_LIBS}) {
+    my $syslibs = $ENV{SYSTEM_LIBS};
+    push @ldflags, split(' ', $syslibs);
+}
+
 if ($linux && (defined $ENV{SLIC3R_STATIC} && $ENV{SLIC3R_STATIC})) {
     push @ldflags, qw(-static-libgcc -static-libstdc++);
     if ($ENV{TRAVIS}) {
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin