X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/11b192127cac086338bfaa43f3bab3acda8e3a20..ea99d6e6a02a06bd63e788393fd42cde5cb1fa71:/lib/local.mk diff --git a/lib/local.mk b/lib/local.mk index 1235a0e4..1069b50c 100644 --- a/lib/local.mk +++ b/lib/local.mk @@ -1,4 +1,4 @@ -# Copyright (C) 2001-2012 Free Software Foundation, Inc. +# Copyright (C) 2001-2013 Free Software Foundation, Inc. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -51,6 +51,8 @@ lib_libbison_a_SOURCES += \ lib/get-errno.c # The Yacc compatibility library. -lib_LIBRARIES = $(YACC_LIBRARY) +if ENABLE_YACC +lib_LIBRARIES = lib/liby.a EXTRA_LIBRARIES = lib/liby.a lib_liby_a_SOURCES = lib/main.c lib/yyerror.c +endif