|
@@ -948,6 +948,13 @@ if (COMPILER=="GCC"):
|
|
|
SmartPkgEnable("JPEG", "", ("jpeg"), "jpeglib.h")
|
|
SmartPkgEnable("JPEG", "", ("jpeg"), "jpeglib.h")
|
|
|
SmartPkgEnable("PNG", "libpng", ("png"), "png.h", tool = "libpng-config")
|
|
SmartPkgEnable("PNG", "libpng", ("png"), "png.h", tool = "libpng-config")
|
|
|
|
|
|
|
|
|
|
+ # Copy freetype libraries to be specified after harfbuzz libraries as well,
|
|
|
|
|
+ # because there's a circular dependency between the two libraries.
|
|
|
|
|
+ if not PkgSkip("FREETYPE") and not PkgSkip("HARFBUZZ"):
|
|
|
|
|
+ for (opt, name) in LIBNAMES:
|
|
|
|
|
+ if opt == "FREETYPE":
|
|
|
|
|
+ LibName("HARFBUZZ", name)
|
|
|
|
|
+
|
|
|
if not PkgSkip("FFMPEG"):
|
|
if not PkgSkip("FFMPEG"):
|
|
|
if GetTarget() == "darwin":
|
|
if GetTarget() == "darwin":
|
|
|
LibName("FFMPEG", "-Wl,-read_only_relocs,suppress")
|
|
LibName("FFMPEG", "-Wl,-read_only_relocs,suppress")
|