-
Notifications
You must be signed in to change notification settings - Fork 442
Create excludelist at build time #263
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
Conversation
f48f33f to
2f1d204
Compare
|
This is build time, not runtime. |
tools/linuxdeployqt/shared.cpp
Outdated
|
|
||
| QStringList excludelist; | ||
| excludelist << "ld-linux.so.2" << "ld-linux-x86-64.so.2" << "libanl.so.1" << "libasound.so.2" << "libBrokenLocale.so.1" << "libcidn.so.1" << "libcom_err.so.2" << "libcrypt.so.1" << "libc.so.6" << "libdl.so.2" << "libdrm.so.2" << "libexpat.so.1" << "libfontconfig.so.1" << "libfreetype.so.6" << "libgcc_s.so.1" << "libgdk_pixbuf-2.0.so.0" << "libgio-2.0.so.0" << "libglib-2.0.so.0" << "libGL.so.1" << "libgobject-2.0.so.0" << "libgpg-error.so.0" << "libharfbuzz.so.0" << "libICE.so.6" << "libjack.so.0" << "libkeyutils.so.1" << "libm.so.6" << "libmvec.so.1" << "libnsl.so.1" << "libnss_compat.so.2" << "libnss_db.so.2" << "libnss_dns.so.2" << "libnss_files.so.2" << "libnss_hesiod.so.2" << "libnss_nisplus.so.2" << "libnss_nis.so.2" << "libp11-kit.so.0" << "libpango-1.0.so.0" << "libpangocairo-1.0.so.0" << "libpangoft2-1.0.so.0" << "libpthread.so.0" << "libresolv.so.2" << "librt.so.1" << "libSM.so.6" << "libstdc++.so.6" << "libthread_db.so.1" << "libusb-1.0.so.0" << "libutil.so.1" << "libuuid.so.1" << "libX11.so.6" << "libxcb.so.1" << "libz.so.1"; | ||
| excludelist << EXCLUDELIST; |
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.
This will break the CMake configuration.
Could you please use a pattern as follows until I get to fixing the CMake configuration? Please add a TODO as well.
#ifndef EXCLUDELIST
// ... old code
#else
// new code
#endif
|
Thanks, looks solid. |
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2f1d204 to
464f1f2
Compare
|
Corrections done. |
|
Thanks, highly appreciated. |
|
Thank you very much @patrickelectric - great job! |
|
Unfortunately this breaks on OBS, please see #272 and fix this, otherwise I need to revert. |
Signed-off-by: Patrick José Pereira patrickelectric@gmail.com