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

Change XDelta support to automatic and check lzma.h presence. #15962

Merged
merged 1 commit into from
Dec 6, 2023

Conversation

zoltanvb
Copy link
Contributor

Description

On some platforms, compilation can fail if lzma.h is not present, better check if it is really available.
This modification will disable XDelta support if lzma.h can not be found, and fails ./configure if --enable-xdelta was given.

Related Pull Requests

#15915

@i30817
Copy link
Contributor

i30817 commented Nov 29, 2023

Can you add support for Android for xdelta too, since now it will fail without the headers on build and there is another pr that also added support for iOS?

I believe the original pr doesn't from not touching the android makefile.

@JesseTG
Copy link
Contributor

JesseTG commented Nov 30, 2023

@i30817 Does this PR resolve your issue?

@i30817
Copy link
Contributor

i30817 commented Dec 1, 2023

Ok... I need to clarify, I don't know if the older commit doesn't run on android (I can't build), but I suspect so, because all the other xdelta commits activated the feature manually on the platform makefiles, but the android makefile wasn't touched (it's I think, but not sure) at https://github.com/libretro/RetroArch/tree/master/pkg/android

So asking me if it fixes the issue is useless, I can't test.

@zoltanvb
Copy link
Contributor Author

zoltanvb commented Dec 2, 2023

(Just to make it clear, I am not planning to add XDelta setting to Android within this PR.)

@LibretroAdmin LibretroAdmin merged commit 6ac1fb7 into libretro:master Dec 6, 2023
22 checks passed
@zoltanvb zoltanvb deleted the xdelta_compile_fix branch December 10, 2023 18:04
Sunderland93 pushed a commit to Sunderland93/RetroArch that referenced this pull request Dec 26, 2024
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.

4 participants