Browse Source

dlib: png config was used incorrectly in place of jpg (#8077)

A2va 1 week ago
parent
commit
7509180927
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/d/dlib/xmake.lua

+ 1 - 1
packages/d/dlib/xmake.lua

@@ -38,7 +38,7 @@ package("dlib")
         if package:config("png") then
             package:add("deps", "libpng")
         end
-        if package:config("png") then
+        if package:config("jpg") then
             package:add("deps", "libjpeg")
         end
         if package:config("gif") then