Skip to content

Commit

Permalink
fix gd extension merge code bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jingjingxyk committed Dec 10, 2024
1 parent 7edd08d commit 3ce8ce5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sapi/src/builder/extension/gd.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@
} else {
$libcpp = '-lstdc++';
}
$p->withExportVariable('AVIF_CFLAGS', '$(pkg-config --cflags --static libavif libbrotlicommon libbrotlidec libbrotlienc SvtAv1Enc SvtAv1Dec aom dav1d libgav1)');
$p->withExportVariable('AVIF_LIBS', '$(pkg-config --libs --static libavif libbrotlicommon libbrotlidec libbrotlienc SvtAv1Enc SvtAv1Dec aom dav1d libgav1) ' . $libcpp);
$p->withExportVariable('AVIF_CFLAGS', '$(pkg-config --cflags --static libavif libbrotlicommon libbrotlidec libbrotlienc SvtAv1Enc aom dav1d libgav1)');
$p->withExportVariable('AVIF_LIBS', '$(pkg-config --libs --static libavif libbrotlicommon libbrotlidec libbrotlienc SvtAv1Enc aom dav1d libgav1) ' . $libcpp);
};

0 comments on commit 3ce8ce5

Please sign in to comment.