churchyard / rpms / slic3r

Forked from rpms/slic3r 5 years ago
Clone
Blob Blame History Raw
diff --git a/xs/Build.PL b/xs/Build.PL
index a4d00cd..0e4ab3c 100644
--- a/xs/Build.PL
+++ b/xs/Build.PL
@@ -29,6 +29,7 @@ if ($cpp_guess->is_gcc)	{
 push @cflags, qw(-std=c++11);
 
 my @ldflags = ();
+push @ldflags, qw(-ladmesh -lpoly2tri);
 
 if ($linux && (defined $ENV{SLIC3R_STATIC} && $ENV{SLIC3R_STATIC})) {
     push @ldflags, qw(-static-libgcc -static-libstdc++);