slic3r/slic3r-linker.patch
2015-06-29 14:38:50 +02:00

16 lines
427 B
Diff

diff --git a/xs/Build.PL b/xs/Build.PL
index bc18bc5..9e2ce40 100644
--- a/xs/Build.PL
+++ b/xs/Build.PL
@@ -41,6 +41,10 @@ my $build = Module::Build::WithXSpp->new(
Module::Build::WithXSpp 0.13
)},
extra_compiler_flags => \@cflags,
+ extra_linker_flags => [qw(
+ -ladmesh
+ -lpoly2tri
+ )],
# Provides extra C typemaps that are auto-merged
extra_typemap_modules => {