Browse Source

Merge pull request #6194 from ldir-EDB0/fixldns

ldns: fix cross compiling on darwin
lilik-openwrt-22.03
Hannu Nyman 7 years ago
committed by GitHub
parent
commit
4f65442ab0
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 0 deletions
  1. +11
    -0
      libs/ldns/patches/001-fix-cross-compile-on-darwin.patch

+ 11
- 0
libs/ldns/patches/001-fix-cross-compile-on-darwin.patch View File

@ -0,0 +1,11 @@
--- a/configure.ac
+++ b/configure.ac
@@ -842,7 +842,7 @@ ACX_CHECK_FORMAT_ATTRIBUTE
ACX_CHECK_UNUSED_ATTRIBUTE
# check OSX deployment target, if needed
-if echo $build_os | grep darwin > /dev/null; then
+if echo $target_os | grep darwin > /dev/null; then
sdk_p=`xcode-select -print-path`;
sdk_v="$( /usr/bin/xcrun --show-sdk-version )";
case $sdk_v in

Loading…
Cancel
Save