Change in libtelnet[master]: util/Makefile.am: Fix build with builddir neq srcdir

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/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Fri Aug 10 20:59:15 UTC 2018


Harald Welte has submitted this change and it was merged. ( https://gerrit.osmocom.org/10427 )

Change subject: util/Makefile.am: Fix build with builddir neq srcdir
......................................................................

util/Makefile.am: Fix build with builddir neq srcdir

Change-Id: I2ce5feeacda1f0b41de1d0a07d8c40ca09ad9fc2
---
M util/Makefile.am
1 file changed, 3 insertions(+), 3 deletions(-)

Approvals:
  Pau Espin Pedrol: Verified
  Harald Welte: Looks good to me, approved



diff --git a/util/Makefile.am b/util/Makefile.am
index 9c66ef7..57f7fa6 100644
--- a/util/Makefile.am
+++ b/util/Makefile.am
@@ -1,9 +1,9 @@
-AM_CFLAGS = -I..
-AM_LDFLAGS = -L..
+AM_CFLAGS = -I$(srcdir)/..
+AM_LDFLAGS = -L$(builddir)/..
 
 ipaccess_telnet_SOURCES = telnet-client.c ../libtelnet.h ipaccess-auth.c
 ipaccess_telnet_LDADD = ../libtelnet.la -lssl -lcrypto
-ipaccess_telnet_CFLAGS = -DNANO_BTS_CLI_CLIENT -I..
+ipaccess_telnet_CFLAGS = -DNANO_BTS_CLI_CLIENT -I$(srcdir)/..
 
 telnet_client_SOURCES = telnet-client.c ../libtelnet.h
 telnet_client_LDADD = ../libtelnet.la

-- 
To view, visit https://gerrit.osmocom.org/10427
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: libtelnet
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I2ce5feeacda1f0b41de1d0a07d8c40ca09ad9fc2
Gerrit-Change-Number: 10427
Gerrit-PatchSet: 1
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Pau Espin Pedrol <pespin at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180810/a841fffe/attachment.htm>


More information about the gerrit-log mailing list