Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ebuild writing: how 2 prevent install of *.a? [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3848

PostPosted: Sun Apr 21, 2024 3:28 pm    Post subject: ebuild writing: how 2 prevent install of *.a? [solved] Reply with quote

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
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3848

PostPosted: Sun Apr 21, 2024 4:08 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
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