mirror of
https://github.com/Relintai/osxcross.git
synced 2025-02-03 22:45:56 +01:00
Merge pull request #201 from erijo/target-dir
Use TARGET_DIR instead of hardcoding ../target
This commit is contained in:
commit
9790e10a72
@ -7,7 +7,7 @@ popd &>/dev/null
|
||||
|
||||
set +e
|
||||
if [ -z "$OSXCROSS_VERSION" ]; then
|
||||
eval $(../target/bin/osxcross-conf 2>/dev/null)
|
||||
eval $(${TARGET_DIR}/bin/osxcross-conf 2>/dev/null)
|
||||
|
||||
if [ -n "$OSXCROSS_SDK_VERSION" ]; then
|
||||
if [ -z "$X86_64H_SUPPORTED" ]; then
|
||||
@ -127,7 +127,7 @@ fi
|
||||
|
||||
function compile_wrapper()
|
||||
{
|
||||
mkdir -p ../target ../target/bin
|
||||
mkdir -p ${TARGET_DIR}/bin
|
||||
export PLATFORM
|
||||
export CXX
|
||||
|
||||
@ -145,7 +145,7 @@ fi
|
||||
|
||||
verbose_cmd mv wrapper "${TARGET_DIR}/bin/${TARGETTRIPLE}-wrapper"
|
||||
|
||||
pushd "../target/bin" &>/dev/null
|
||||
pushd "${TARGET_DIR}/bin" &>/dev/null
|
||||
|
||||
if [ $TARGETCOMPILER = "clang" ]; then
|
||||
create_wrapper_link clang 2
|
||||
|
Loading…
Reference in New Issue
Block a user