]> git.draconx.ca Git - cdecl99.git/commitdiff
Fix testcase compilation with --disable-shared.
authorNick Bowler <nbowler@draconx.ca>
Wed, 3 Mar 2021 02:21:50 +0000 (21:21 -0500)
committerNick Bowler <nbowler@draconx.ca>
Wed, 3 Mar 2021 02:24:30 +0000 (21:24 -0500)
Since the libtest library depends on functions in libcdecl,
we must list libcdecl after libtest on the linker command line,
otherwise required objects from static libcdecl will not be
pulled in to the link.  A similar problem also occurs when
building tests with LDFLAGS=-Wl,--as-needed.

Makefile.am
NEWS
configure.ac

index d4d375fb7053209fde821c9a1cae2937289e797c..1d40ab3edbbc0bfb845dec63dd6ed4bfba914c9e 100644 (file)
@@ -77,9 +77,9 @@ libtest_la_SOURCES += test/declgen.c
 check_PROGRAMS += test/randomdecl
 endif
 
-test_crossparse_LDADD = libcdecl.la libtest.la libgnu.la
+test_crossparse_LDADD = libtest.la libcdecl.la libgnu.la
 $(test_crossparse_OBJECTS): $(gnulib_headers)
-test_randomdecl_LDADD = libcdecl.la libtest.la libgnu.la
+test_randomdecl_LDADD = libtest.la libcdecl.la libgnu.la
 $(test_randomdecl_OBJECTS): $(gnulib_headers)
 
 src/parse.lo: src/scan.h
diff --git a/NEWS b/NEWS
index 64e572a9ee605a9cd4bf09e873669e3559b6f510..2ba520652ca24d1de4a7109df3bf095bf23a06c1 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,2 +1,4 @@
+Release 1a:
+
 Release 1:
        * Initial release.
index 90440e3314fb2598c48e1302a3803cbe15755007..5fd17d6674f15241b0f6f60c9e2f2ce8f5c36a19 100644 (file)
@@ -5,7 +5,7 @@ dnl This is free software: you are free to do what the fuck you want to.
 dnl There is NO WARRANTY, to the extent permitted by law.
 
 AC_PREREQ([2.68])
-AC_INIT([cdecl99], [1], [nbowler@draconx.ca])
+AC_INIT([cdecl99], [1a], [nbowler@draconx.ca])
 AC_CONFIG_HEADERS([config.h])
 
 AM_INIT_AUTOMAKE([-Wall -Wno-portability foreign subdir-objects dist-xz])