* [tinycompress] [PATCH] build: Fix make distcheck
@ 2015-10-08 10:41 arun
2015-10-08 11:07 ` Koul, Vinod
0 siblings, 1 reply; 2+ messages in thread
From: arun @ 2015-10-08 10:41 UTC (permalink / raw)
To: Vinod Koul; +Cc: Arun Raghavan, alsa-devel
From: Arun Raghavan <git@arunraghavan.net>
srcdir may not be the same as builddir, so use the correct variable for
the include path.
---
src/lib/Makefile.am | 2 +-
src/utils/Makefile.am | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/lib/Makefile.am b/src/lib/Makefile.am
index 6f900ac..4baeab5 100644
--- a/src/lib/Makefile.am
+++ b/src/lib/Makefile.am
@@ -2,4 +2,4 @@ tinycompressdir = $(libdir)
tinycompress_LTLIBRARIES = libtinycompress.la
libtinycompress_la_SOURCES = compress.c
-libtinycompress_la_CFLAGS = -I $(top_builddir)/include
+libtinycompress_la_CFLAGS = -I$(top_srcdir)/include
diff --git a/src/utils/Makefile.am b/src/utils/Makefile.am
index 6a89c45..5f685e3 100644
--- a/src/utils/Makefile.am
+++ b/src/utils/Makefile.am
@@ -3,8 +3,8 @@ bin_PROGRAMS = cplay crecord
cplay_SOURCES = cplay.c
crecord_SOURCES = crec.c
-cplay_CFLAGS = -I$(top_builddir)/include
-crecord_CFLAGS = -I$(top_builddir)/include
+cplay_CFLAGS = -I$(top_srcdir)/include
+crecord_CFLAGS = -I$(top_srcdir)/include
cplay_LDADD = $(top_builddir)/src/lib/libtinycompress.la
--
2.4.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-10-08 11:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-08 10:41 [tinycompress] [PATCH] build: Fix make distcheck arun
2015-10-08 11:07 ` Koul, Vinod
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.