Link XS with -framework OpenGL on OSX.

This commit is contained in:
bubnikv 2017-03-16 14:26:16 +01:00
parent 73de247a15
commit 8e28bd36a2

View File

@ -305,6 +305,8 @@ if ($ENV{SLIC3R_GUI}) {
} else { } else {
push @LIBS, qw(-lopengl32); push @LIBS, qw(-lopengl32);
} }
} elsif ($^O eq 'darwin') {
push @LIBS, qw(-framework OpenGL);
} else { } else {
push @LIBS, qw(-lGL -lGLU); push @LIBS, qw(-lGL -lGLU);
} }