diff options
author | Andrew Hsieh <andrewhsieh@google.com> | 2012-12-20 16:33:28 +0800 |
---|---|---|
committer | Andrew Hsieh <andrewhsieh@google.com> | 2012-12-20 16:33:28 +0800 |
commit | 53dbbd577342ce544326d976f6be6c51b77c4a0e (patch) | |
tree | c7a171b85698db5c035d589a1730df8eb9e98f0d | |
parent | 7fe9b270f1b1f0feccee11937216be5fabe94950 (diff) | |
download | build-53dbbd577342ce544326d976f6be6c51b77c4a0e.tar.gz |
Fix build to compile ppl > 0.11.2
Provides library path for the new ppl 'configure' which needs
to links libgmp libgmpxx.
Also remove outdated --with-libgmp-prefix
Change-Id: I3be601c523fe1512e878a0aad632b9da2721c1bd
-rw-r--r-- | Makefile.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in index a838857..68f0f06 100644 --- a/Makefile.in +++ b/Makefile.in @@ -667,7 +667,7 @@ config-host-ppl: stmp-config-host-ppl PPL_CONFIG_ARGS=$(host_baseargs) --prefix=$(TEMP_INSTALLDIR) --disable-shared \ --target=${target_alias} \ --host=${host} --build=${build} \ - --disable-nls --with-libgmp-prefix=$(GMP_DIR) \ + --disable-nls \ --disable-watchdog --without-java \ --disable-ppl_lcdd --disable-ppl_lpsol --disable-ppl_pips stmp-config-host-ppl: config.status stmp-install-host-gmp @@ -677,6 +677,7 @@ stmp-config-host-ppl: config.status stmp-install-host-gmp cd ${PPL_VERSION} ; \ export CFLAGS="${CFLAGS} -I$(GMP_DIR)/include" ; \ export CXXFLAGS="${CFLAGS} -I$(GMP_DIR)/include" ; \ + export LDFLAGS="${LDFLAGS} -L$(GMP_DIR)/lib" ; \ $(call find-package-srcdir, ${PPL_VERSION})/configure \ $(PPL_CONFIG_ARGS)) && \ $(STAMP) $@ |