Skip to content

Commit

Permalink
bugfix: fixed compilation error for using libjpeg8.
Browse files Browse the repository at this point in the history
The combination of libjpeg8 and imlib2 requires '-ljpeg'.
  • Loading branch information
cubicdaiya committed Jun 7, 2015
1 parent 04ab056 commit e88dbc1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions setup
Expand Up @@ -106,6 +106,8 @@ if ($imlib2_enabled == 1) {
$imlib2_includes = `imlib2-config --cflags`;
chomp($imlib2_libs);
chomp($imlib2_includes);
# the output of `imlib2-config --libs` does not include '-ljpeg'.
$imlib2_libs .= " -ljpeg";
}

my $gd_libs = "";
Expand Down

0 comments on commit e88dbc1

Please sign in to comment.