mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-16 09:26:58 +02:00
eclass/ltprune: Sync with gentoo
It's from gentoo commit 38092efc6cdf12267c794a4f9b8a4a656d27af6c.
This commit is contained in:
parent
afe2775187
commit
e6c6bb3e78
@ -1,4 +1,4 @@
|
|||||||
# Copyright 1999-2019 Gentoo Authors
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
# @ECLASS: ltprune.eclass
|
# @ECLASS: ltprune.eclass
|
||||||
@ -6,12 +6,13 @@
|
|||||||
# Michał Górny <mgorny@gentoo.org>
|
# Michał Górny <mgorny@gentoo.org>
|
||||||
# @SUPPORTED_EAPIS: 0 1 2 3 4 5 6
|
# @SUPPORTED_EAPIS: 0 1 2 3 4 5 6
|
||||||
# @BLURB: Smart .la file pruning
|
# @BLURB: Smart .la file pruning
|
||||||
|
# @DEPRECATED: none
|
||||||
# @DESCRIPTION:
|
# @DESCRIPTION:
|
||||||
# A function to locate and remove unnecessary .la files.
|
# A function to locate and remove unnecessary .la files.
|
||||||
#
|
#
|
||||||
# Discouraged. Whenever possible, please use much simpler:
|
# Discouraged. Whenever possible, please use much simpler:
|
||||||
# @CODE
|
# @CODE
|
||||||
# find "${D}" -name '*.la' -type f -delete || die
|
# find "${ED}" -name '*.la' -delete || die
|
||||||
# @CODE
|
# @CODE
|
||||||
|
|
||||||
if [[ -z ${_LTPRUNE_ECLASS} ]]; then
|
if [[ -z ${_LTPRUNE_ECLASS} ]]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user