Fixed build on openSUSE

This commit is contained in:
Thomas Kolb 2019-08-22 15:30:51 +02:00
parent d4e7d558bd
commit b3c1e3c895
4 changed files with 11 additions and 11 deletions

View file

@ -1,5 +1,5 @@
LUA_CFLAGS=$(shell pkg-config --cflags lua53)
LUA_LIBS=$(shell pkg-config --libs lua53)
LUA_CFLAGS=$(shell pkg-config --cflags lua5.3)
LUA_LIBS=$(shell pkg-config --libs lua5.3)
CC=gcc
CFLAGS+=-O2 -Wall -march=native -pedantic -std=c99 -D_POSIX_C_SOURCE=20120607L -D_XOPEN_SOURCE $(LUA_CFLAGS)

View file

@ -8,9 +8,9 @@
* - Thomas Kolb
*/
#include <lua.h>
#include <lualib.h>
#include <lauxlib.h>
#include <lua5.3/lua.h>
#include <lua5.3/lualib.h>
#include <lua5.3/lauxlib.h>
#include "lua_utils.h"

View file

@ -10,9 +10,9 @@
#include <semaphore.h>
#include <lua.h>
#include <lualib.h>
#include <lauxlib.h>
#include <lua5.3/lua.h>
#include <lua5.3/lualib.h>
#include <lua5.3/lauxlib.h>
#include "fft.h"

6
main.c
View file

@ -17,9 +17,9 @@
#include <stdint.h>
#include <malloc.h>
#include <lua.h>
#include <lualib.h>
#include <lauxlib.h>
#include <lua5.3/lua.h>
#include <lua5.3/lualib.h>
#include <lua5.3/lauxlib.h>
#include "lua_utils.h"
#include "lua_wrappers.h"