-
Notifications
You must be signed in to change notification settings - Fork 130
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
feat: append ${ZPFX}/lib/pkg-config
to $PKG_CONFIG_PATH
#333
Conversation
e6e7a64
to
db6e8ce
Compare
I've added the quotes. PS. I've clicked something so that the review requests were generated, you can ignore them. |
I wonder if some other environment variables are there that make CMake and AutoTools look more closely at a changed |
@vladdoster in commit b1da9b2 I've added support for $ZPFX also to:
The first two changes make CMake and Autotools find libraries installed in ZPFX. Also, an extra hunk in the commit – |
0e4843c
to
ae31528
Compare
@vladdoster: Chances to merge? |
be94a0e
to
92b7475
Compare
I've resolved conflicts. |
Hey could the PR be merged? It is a simple change to make libraries found. |
When will it be merged, @vladdoster ? |
92b7475
to
9369ade
Compare
The Using
ExampleThe following is cleaned up correctly: zi delete shc --yes
zi for \
null \
id-as \
lman \
lbin'!bin/shc' \
configure"--prefix=$ZI[PLUGINS_DIR]/shc" \
make"PREFIX=$ZI[PLUGINS_DIR]/shc install" \
@neurobin/shc The following is not cleaned up and seems to install man page in wrong place: zi delete shc --yes
zi for \
null \
id-as \
lman \
lbin'!$ZPFX/bin/shc' \
configure"--prefix=$ZPFX" \
make"PREFIX=$ZPFX install" \
@neurobin/shc Am I missing something? |
@vladdoster When you set prefix to the dir of the plugin then it's natural that its files get cleaned up when deleting the plugin. To obtain similar effect |
9369ade
to
bea1af4
Compare
@vladdoster I can see that you like to install to |
269bf8f
to
1524c3a
Compare
@vladdoster I've switched from tying with |
1524c3a
to
778e1fb
Compare
@vladdoster Here's info on |
@vladdoster: I added in #468 |
@vladdoster come on, could the PR be merged quicker? |
a1ef8f3
to
7dbc663
Compare
I've found a bug – CMake var should use |
@vladdoster See documentation of It is perfect for what is needed to make |
${ZPFX}/lib/pkg-config
to ${PKG_CONFIG_PATH}
I'm not purposefully ignoring your PRs. There are failing checks that need to be resolved (i.e., commit message). It is how the CHANGELOG is generated and makes it easier to decipher commits when searching through the git log. It clearly states what the issues are. I opened an empty PR which passes the linter. Feel free to use it and amend your commit messages. |
${ZPFX}/lib/pkg-config
to ${PKG_CONFIG_PATH}
${ZPFX}/lib/pkg-config
to $PKG_CONFIG_PATH
b4bd023
to
ce28e8c
Compare
ce28e8c
to
e307952
Compare
OK, thanks for pointing where to look for info, I've made the commit message pass linter. |
3d7a462
to
9826031
Compare
Ping? |
@vladdoster the problem is that the unit tests are failing randomly and that I cannot use docker on my PCLInuxOS to generate documentation. You've once wrote that the documentation isn't a problem … |
@vladdoster: It buggs me that one still cannot compile with deps from |
9826031
to
3650fe1
Compare
@vladdoster: I've found one other bug ( |
What about this PR? It is important. |
ping :) The unit test failure is some random one:
|
Description
I thought it be good if
$ZPFX
will get visible toautotools
andcmake
. In order to accomplish this$ZPFX/lib/pkg-config
should be added to$PKG_CONFIG_PATH
.Motivation and Context
Today I've installed a library (
pcre2-8
) to$ZPFX
and then tried to also install a dependent program (uni-ctags
) and I've noticed that the library wasn't found. After investigation it waspkg-config
to blame, with a solution of prepending$ZPFX
library dir to$PKG_CONFIG_PATH
. i think that such move is of good reasoning – the variable works like$PATH
grouping multiple dirs, so nothing can be lost. After thisctags
built correctly.Usage examples
Some can be found at #332
How Has This Been Tested?
i've removed system pcre2, obtained a build failure, performed the steps described and obtained a build success.
Types of changes
Checklist: