diff options
author | Stephan Raue <stephan@openelec.tv> | 2013-09-03 05:44:33 +0200 |
---|---|---|
committer | Stephan Raue <stephan@openelec.tv> | 2013-09-03 06:54:44 +0200 |
commit | 2108f29aa7f60ed03afea65b262cec5ca1ed5ab9 (patch) | |
tree | 37f43cb424bef6f308624a7a1425558be224b3f6 /configure.in | |
parent | 59109579ecfe7622fea2283d1391ca4da07aa9a7 (diff) |
Texturepacker: rework to support native builds with *_FOR_BUILD, Texturepacker builds always against libsquish-native.so, which is ok because CXX_FOR_BUILD=CXX, CXXFLAGS_FOR_BUILD=CXXFLAGS and LDFLAGS_FOR_BUILD=LDFLAGS on non crosscompiled builds, sothere libsquish-native is the same like libsquish
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.in b/configure.in index daf547771e..dda18eac4c 100644 --- a/configure.in +++ b/configure.in @@ -1964,6 +1964,9 @@ if test "$cross_compiling" = "yes"; then CFLAGS_FOR_BUILD="$CFLAGS_FOR_BUILD -I$NATIVE_ROOT/include" CXXFLAGS_FOR_BUILD="$CXXFLAGS_FOR_BUILD -I$NATIVE_ROOT/include" LDFLAGS_FOR_BUILD="$LDFLAGS_FOR_BUILD -L$NATIVE_ROOT/lib" + if test "$host_vendor" != "apple" ; then + LDFLAGS_FOR_BUILD="$LDFLAGS_FOR_BUILD -Wl,-rpath=$NATIVE_ROOT/lib" + fi final_message="$final_message\n Native Root:\t$NATIVE_ROOT" fi else |