]> granicus.if.org Git - flex/commitdiff
Fix malloc/realloc replacement, bug#151.
authorMichael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
Wed, 2 Apr 2014 14:03:49 +0000 (16:03 +0200)
committerWill Estes <westes575@gmail.com>
Wed, 2 Apr 2014 20:51:22 +0000 (16:51 -0400)
Signed-off-by: Will Estes <westes575@gmail.com>
lib/Makefile.am
lib/realloc.c

index 391465f9ff7720b2f182b3135c80fc1fcd9f8a3f..011163e083ac8b75cbff5a99795014991d1fca2d 100644 (file)
@@ -1,4 +1,4 @@
 noinst_LTLIBRARIES = libcompat.la
 libcompat_la_SOURCES = lib.c
-libcompat_la_LIBADD = $(LIBOBJS)
+libcompat_la_LIBADD = $(LTLIBOBJS)
 
index d7bb6292dcdac66c81f9106e636b53f512fda51f..79bfd28ccad1b8d04fcd537d532628f7e06ec2a4 100644 (file)
@@ -1,4 +1,6 @@
 #include <config.h>
+#undef realloc
+#undef malloc
 
 #include <stdlib.h>