Skip to content

Commit ef3d4ce

Browse files
committed
build: call AC_PATH_TOOL for dsymutil in macOS cross-compile
While testing #19530 I noticed that we couldn't call dsymutil after LTO: ```bash ../libtool: line 10643: x86_64-apple-darwin16-dsymutil: command not found ``` This updates configure to call `AC_PATH_TOOL` so that we end up with the full path to dsymutil, similar to `otool` and `install_name_tool`, ie: `/bitcoin/depends/x86_64-apple-darwin16/share/../native/bin/x86_64-apple-darwin16-otool`.
1 parent 2031aa9 commit ef3d4ce

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

configure.ac

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -642,6 +642,7 @@ case $host in
642642
BUILD_OS=darwin
643643
;;
644644
*)
645+
AC_PATH_TOOL([DSYMUTIL], [dsymutil], dsymutil)
645646
AC_PATH_TOOL([INSTALLNAMETOOL], [install_name_tool], install_name_tool)
646647
AC_PATH_TOOL([OTOOL], [otool], otool)
647648
AC_PATH_PROGS([GENISOIMAGE], [genisoimage mkisofs],genisoimage)

0 commit comments

Comments
 (0)