From 3fc57ba8d85bef0ea6419cffe884e3ee151531ba Mon Sep 17 00:00:00 2001 From: bubnikv Date: Fri, 4 Nov 2016 01:06:26 +0100 Subject: [PATCH] Fixed compilation of the XS module with SLIC3R_GUI compilation flag enabled, leading to a linkage of GL and GLU libraries. https://github.com/prusa3d/Slic3r/issues/8 --- xs/Build.PL | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xs/Build.PL b/xs/Build.PL index 022699a77..08988a859 100644 --- a/xs/Build.PL +++ b/xs/Build.PL @@ -172,7 +172,7 @@ if ($ENV{SLIC3R_GUI}) { push @LIBS, qw(-lopengl32); } } else { - push @LIBS, qw(-lgl -lglu); + push @LIBS, qw(-lGL -lGLU); } }