View previous topic :: View next topic |
Author |
Message |
CaptainBlood Advocate
Joined: 24 Jan 2010 Posts: 3830
|
Posted: Sun Apr 21, 2024 3:28 pm Post subject: ebuild writing: how 2 prevent install of *.a? [solved] |
|
|
I suspect an out-of-tree ebuild to install useless *.a files.
Is there a generic way to avoid this?
Or has it got to be achieved file by file?
Thks 4 ur attention, interest & support. _________________ USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. "
Last edited by CaptainBlood on Sun Apr 21, 2024 4:24 pm; edited 4 times in total |
|
Back to top |
|
|
CaptainBlood Advocate
Joined: 24 Jan 2010 Posts: 3830
|
Posted: Sun Apr 21, 2024 4:08 pm Post subject: |
|
|
tested line has been added: Code: | src_install() {
default
find "${D}" -name '*.la' -delete || die
#testing
find "${D}" -name '*.a' -delete || die
} |
Thks 4 ur attention, interest & support. _________________ USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. " |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|