Skip to content

Commit

Permalink
[PROJ] Just set LDFLAGS for PowerPC
Browse files Browse the repository at this point in the history
  • Loading branch information
giordano committed Jan 18, 2020
1 parent c8b0b12 commit 6d71674
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 13 deletions.
6 changes: 4 additions & 2 deletions P/PROJ/build_tarballs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ version = v"6.3.0"
sources = [
"https://download.osgeo.org/proj/proj-$version.tar.gz" =>
"68ce9ba0005d442c2c1d238a3b9bc6654c358159b4af467b91e8d5b407c79c77",
"./bundled",
]

# Bash recipe for building across all platforms
Expand All @@ -24,7 +23,10 @@ else
SQLITE3_LIBRARY=${libdir}/libsqlite3.${dlext}
fi
atomic_patch -p1 "$WORKSPACE/srcdir/patches/require_libdl.patch"
if [[ "${target}" == powerpc64le-* ]]; then
# Need to remember to link against libdl
export LDFLAGS="-ldl"
fi
mkdir build
cd build
Expand Down
11 changes: 0 additions & 11 deletions P/PROJ/bundled/patches/require_libdl.patch

This file was deleted.

0 comments on commit 6d71674

Please sign in to comment.