[PATCH] libosmocore[master]: gsm0503 coding: fix build in separate dir: -I builddir

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Tue Mar 7 23:32:01 UTC 2017


Review at  https://gerrit.osmocom.org/2003

gsm0503 coding: fix build in separate dir: -I builddir

To allow building coding/gsm0503_interleaving.c which includes the generated
bit*gen.h (via bits.h), add -I to the builddir include path in order to find
the generated bit*gen.h headers there.

Change-Id: I0d465bc109765b1315d615243bea6af027afa368
---
M src/coding/Makefile.am
1 file changed, 4 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/03/2003/1

diff --git a/src/coding/Makefile.am b/src/coding/Makefile.am
index 5a055c8..cbdcf47 100644
--- a/src/coding/Makefile.am
+++ b/src/coding/Makefile.am
@@ -3,7 +3,10 @@
 # documentation before making any modification
 LIBVERSION = 0:0:0
 
-AM_CPPFLAGS = -I$(top_srcdir)/include $(TALLOC_CFLAGS)
+AM_CPPFLAGS = \
+	-I"$(top_srcdir)/include" \
+	-I"$(top_builddir)/include" \
+	$(TALLOC_CFLAGS)
 AM_CFLAGS = -Wall
 
 lib_LTLIBRARIES = libosmocoding.la

-- 
To view, visit https://gerrit.osmocom.org/2003
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I0d465bc109765b1315d615243bea6af027afa368
Gerrit-PatchSet: 1
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>



More information about the gerrit-log mailing list