-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
[lief] add new port LIEF-0.16.0 #42374
base: master
Are you sure you want to change the base?
Conversation
There is some chance that LIEF going to push new tag on next week, so I'll draft PR & trying to retarget over 0.16 release once it's been pushed over. |
}, | ||
"objc": { | ||
"description": "Build LIEF with ObjC metadata support", | ||
"supports": "!(windows & !static)" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yet extended features wont work for Windows/UWP Shared
https://lief.re/doc/latest/extended/intro.html
Note: I will be converting your PR to draft status. Please feel free to mark 'Ready for review' when it's working and you're happy with it. |
This PR tends to learn possibility of porting LIEF.
Feel free to propose changes or change.
lower_bound usage in code.
It should be
frozen::map
but notstd::unordered_map
I believe. So this approach should enforce frozen to be ON.I tried to enforce frozen to be ON. It made some progress, but for now I do not understand logs.
For UWP or Windows shared library build
Most likely shared builds need some fix, but I honestly do not know how to fix them up so it wont conflict with
vcpkg_cmake_config_fixup(CONFIG_PATH "lib/cmake/${PORT}")
call.During shared build.
vcpkg\installed\x86-windows\lib\LIEF.dll
Meanwhile no issue persist during static build.
vcpkg\installed\x86-windows-static\lib\LIEF.lib
For Linux
So this approach should enforce Exceptions to be ON.
Still yet I can't find IMPLIB.
Yet doing
Just placed IMPLIB into liblib, so I could store & use it. vcpkg_cmake_config_fixup still yet does not find moved files, so I helped it to find files & use them.