forked from Imagelibrary/binutils-gdb
libctf: get libctf-nobfd.ver from the right place with Solaris ld
We generate de-commented version scripts for Solaris ld (whose -z gnu-version-script linker option does not support comments), but after we switched to generating libctf-nobfd.ver itself, we failed to adjust this code to pick it up from the new location. libctf/ PR libctf/33161 * configure.ac: Fix libctf-nobfd.ver path on Solaris. * configure: Regenerated.
This commit is contained in:
2
libctf/configure
vendored
2
libctf/configure
vendored
@@ -17023,7 +17023,7 @@ if test -n "$decommented_version_script"; then
|
|||||||
# used by GNU ld. Use cpp to strip the comments out. (cpp exists under this
|
# used by GNU ld. Use cpp to strip the comments out. (cpp exists under this
|
||||||
# name on all platforms that support ld -z gnu-version-script.)
|
# name on all platforms that support ld -z gnu-version-script.)
|
||||||
/lib/cpp < $srcdir/libctf.ver > libctf-decommented.ver
|
/lib/cpp < $srcdir/libctf.ver > libctf-decommented.ver
|
||||||
/lib/cpp < $srcdir/libctf-nobfd.ver > libctf-nobfd-decommented.ver
|
/lib/cpp < libctf-nobfd.ver > libctf-nobfd-decommented.ver
|
||||||
VERSION_FLAGS="$ac_cv_libctf_version_script='libctf-decommented.ver'"
|
VERSION_FLAGS="$ac_cv_libctf_version_script='libctf-decommented.ver'"
|
||||||
VERSION_FLAGS_NOBFD="$ac_cv_libctf_version_script='libctf-nobfd-decommented.ver'"
|
VERSION_FLAGS_NOBFD="$ac_cv_libctf_version_script='libctf-nobfd-decommented.ver'"
|
||||||
elif test -z "$no_version_script"; then
|
elif test -z "$no_version_script"; then
|
||||||
|
|||||||
@@ -301,7 +301,7 @@ if test -n "$decommented_version_script"; then
|
|||||||
# used by GNU ld. Use cpp to strip the comments out. (cpp exists under this
|
# used by GNU ld. Use cpp to strip the comments out. (cpp exists under this
|
||||||
# name on all platforms that support ld -z gnu-version-script.)
|
# name on all platforms that support ld -z gnu-version-script.)
|
||||||
/lib/cpp < $srcdir/libctf.ver > libctf-decommented.ver
|
/lib/cpp < $srcdir/libctf.ver > libctf-decommented.ver
|
||||||
/lib/cpp < $srcdir/libctf-nobfd.ver > libctf-nobfd-decommented.ver
|
/lib/cpp < libctf-nobfd.ver > libctf-nobfd-decommented.ver
|
||||||
VERSION_FLAGS="$ac_cv_libctf_version_script='libctf-decommented.ver'"
|
VERSION_FLAGS="$ac_cv_libctf_version_script='libctf-decommented.ver'"
|
||||||
VERSION_FLAGS_NOBFD="$ac_cv_libctf_version_script='libctf-nobfd-decommented.ver'"
|
VERSION_FLAGS_NOBFD="$ac_cv_libctf_version_script='libctf-nobfd-decommented.ver'"
|
||||||
elif test -z "$no_version_script"; then
|
elif test -z "$no_version_script"; then
|
||||||
|
|||||||
Reference in New Issue
Block a user