Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update libgd to latest commit #2944

Merged
merged 2 commits into from
Dec 14, 2023
Merged

update libgd to latest commit #2944

merged 2 commits into from
Dec 14, 2023

Conversation

heheda123123
Copy link
Contributor

@heheda123123 heheda123123 commented Dec 14, 2023

libgd仓库一直在更新,只是两年没有发版本了
顺便放开mingw的支持

@@ -31,9 +34,13 @@ package("libgd")
package:add("defines", "BGDWIN32")
package:add("defines", "NONDLL")
end
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

上面不是已经有 NODLL 配置了么。直接 package:is_plat("windows", "mingw") 不就好了

@@ -31,9 +34,13 @@ package("libgd")
package:add("defines", "BGDWIN32")
package:add("defines", "NONDLL")
end
if package:is_plat("mingw") and not package:config("shared") then
package:add("defines", "BGDWIN32")
package:add("defines", "NONDLL")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

没必要冗余加两边

@waruqi waruqi merged commit 182fe3a into xmake-io:dev Dec 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants