build: Support DESTDIR.
[lopsub.git] / lopsubgen.l
index f5db52b2a56830487ca8c593572899a6c32eaee0..eaed3ecc5538ff8bfdcef8be80117e4b419aa250 100644 (file)
@@ -4,7 +4,6 @@
  * Licensed under the GPL v3, see http://www.gnu.org/licenses/gpl-3.0.html
  */
 
-%option noyywrap
 %option stack
 %option never-interactive
 %option yylineno
@@ -45,6 +44,7 @@
        #define CUROPT (CURCMD.options[CURCMD.num_options - 1])
        #define CURSECT (suite.sections[suite.num_sections - 1])
 
+       static int yywrap(void) {return 1;}
        static void *xmalloc(size_t size)
        {
                void *p;