8000 libmtp configure putting UDEV files in the wrong location #271 by JoesCat · Pull Request #283 · libmtp/libmtp · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

libmtp configure putting UDEV files in the wrong location #271 #283

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

JoesCat
Copy link
Contributor
@JoesCat JoesCat commented Apr 30, 2025

Found a better solution for './configure' and the "/usr/lib/udev" problem when running 'make distcheck' and programs like 'rpmbuild -ba' that still required values like {prefix}. The solution was to set: UDEV=${prefix}/../lib/udev (for prefix=/usr/local) or UDEV=${prefix}/lib/udev (for prefix=/usr).

Also copied UDEV to TARGET_UDEV so that we can simplify the if/then/else, and this simplified Makefile.am so we don't need to use the UDEV_SNIPPET. TARGET_UDEV is then overwritten with crossbuilddir if we're crossbuilding otherwise it remains as whatever directory UDEV originally set it to.

Also added AC_MSG_NOTICE() so we can see results of using './configure'.

Hopefully this resolves issue #271.

Found a better solution for './configure' and the "/usr/lib/udev" problem
when running 'make distcheck' and programs like 'rpmbuild -ba' that still
required values like {prefix}. The solution was to set:
UDEV=\${prefix}/../lib/udev (for prefix=/usr/local) or
UDEV=\${prefix}/lib/udev (for prefix=/usr).

Also copied UDEV to TARGET_UDEV so that we can simplify the if/then/else,
and this simplified Makefile.am so we don't need to use the UDEV_SNIPPET.
TARGET_UDEV is then overwritten with crossbuilddir if we're crossbuilding
otherwise it remains as whatever directory UDEV originally set it to.

Also added AC_MSG_NOTICE() so we can see results of using './configure'.
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.

1 participant
0