1 Star 0 Fork 107

yinchuang/openEuler-rpm-config_0213

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
fix-libtool-from-moving-options-after-libs 605 Bytes
一键复制 编辑 原始数据 按行查看 历史
Funda Wang 提交于 2024-10-05 11:18 +08:00 . Drop symlinks of .la and .a also
#!/usr/bin/sh
# Copyright 2011-2023, Mageia
# Modified 2024, Funda Wang <fundawang@yeah.net>
# Licensed under GPL-2.0-or-later
CONFIGURE_TOP="${1:-.}"
if [ -e $CONFIGURE_TOP/configure ] && grep -q -F '$deplibs $compiler_flags' $CONFIGURE_TOP/configure; then
echo "Fixing libtool inside configure to pass -Wl,xxx options earliest"
sed -i \
-e 's,$libobjs $deplibs $compiler_flags,$compiler_flags $libobjs $deplibs,' \
-e 's,$predep_objects $libobjs $deplibs $postdep_objects $compiler_flags,$compiler_flags $predep_objects $libobjs $deplibs $postdep_objects,' \
$CONFIGURE_TOP/configure
fi
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/ychuawei/openEuler-rpm-config_0213.git
git@gitee.com:ychuawei/openEuler-rpm-config_0213.git
ychuawei
openEuler-rpm-config_0213
openEuler-rpm-config_0213
master

搜索帮助