From b77626b802b2152508ba62e1d36accf85ae30a95 Mon Sep 17 00:00:00 2001 From: Thomas Hallgren Date: Wed, 7 Aug 2019 20:15:28 +0200 Subject: [PATCH] debian/rules: fix two build problems --- debian/rules | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/rules b/debian/rules index 428801e94..36e6ce706 100755 --- a/debian/rules +++ b/debian/rules @@ -26,8 +26,8 @@ override_dh_auto_build: cd src/runtime/python && EXTRA_INCLUDE_DIRS=$(CURDIR)/src/runtime/c EXTRA_LIB_DIRS=$(CURDIR)/src/runtime/c/.libs python setup.py build cd src/runtime/java && make CFLAGS="-I$(CURDIR)/src/runtime/c -L$(CURDIR)/src/runtime/c/.libs" INSTALL_PATH=/usr/lib echo $(SET_LDL) - $(SET_LDL) cabal build # builds gf, fails to build example grammars - PATH=$(CURDIR)/dist/build/gf:$$PATH && make -C ../gf-rgl build + -$(SET_LDL) cabal build # builds gf, fails to build example grammars + export $(SET_LDL); PATH=$(CURDIR)/dist/build/gf:$$PATH && make -C ../gf-rgl build GF_LIB_PATH=$(CURDIR)/../gf-rgl/dist $(SET_LDL) cabal build # have RGL now, ok to build example grammars make html