Skip to content

Commit

Permalink
xorg-3.eclass: Explicitly disable static libraries
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Turner <[email protected]>
  • Loading branch information
mattst88 committed Jan 10, 2021
1 parent 57a6d69 commit 07231b8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions eclass/xorg-3.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -369,9 +369,15 @@ xorg-3_src_configure() {
local selective_werror="--disable-selective-werror"
fi

# Check if package supports disabling of static libraries
if grep -q -s "able-static" ${ECONF_SOURCE:-.}/configure; then
local no_static="--disable-static"
fi

local econfargs=(
${dep_track}
${selective_werror}
${no_static}
${FONT_OPTIONS}
"${xorgconfadd[@]}"
)
Expand Down

0 comments on commit 07231b8

Please sign in to comment.