[ENet-discuss] [PATCH] Out of source build

Dennis Schridde devurandom at gmx.net
Mon Nov 28 12:27:20 PST 2011


Hello!

Currently out-of-source builds are tricky, because the to-be-build version of 
enet header files is not in the path. Following patch fixes this:

--- Makefile.am.orig    2011-11-28 21:09:36.084000037 +0100
+++ Makefile.am 2011-11-28 21:11:31.890000038 +0100
@@ -17,6 +17,6 @@
 libenet_la_SOURCES = callbacks.c compress.c host.c list.c packet.c peer.c 
protocol.c unix.c win32.c
 # see info '(libtool) Updating version info' before making a release
 libenet_la_LDFLAGS = $(AM_LDFLAGS) -version-info 1:3:0
-INCLUDES = -Iinclude
+INCLUDES = -I$(top_srcdir)/include
 
 ACLOCAL_AMFLAGS = -Im4

Kind regards,
Dennis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.cubik.org/pipermail/enet-discuss/attachments/20111128/d8e58842/attachment.pgp>


More information about the ENet-discuss mailing list