mirror of
https://github.com/alexkay/spek.git
synced 2025-05-30 07:09:32 +03:00
win: Fix build under MinGW
This commit is contained in:
parent
071b4f3e50
commit
85d0946f3a
@ -6,7 +6,7 @@ AM_SILENT_RULES([yes])
|
||||
|
||||
AC_LANG([C++])
|
||||
AC_PROG_CXX
|
||||
CXXFLAGS="$CXXFLAGS -std=c++11 -Wall -Wextra"
|
||||
CXXFLAGS="$CXXFLAGS -std=gnu++11 -Wall -Wextra"
|
||||
AC_PROG_CXXCPP
|
||||
AC_PROG_RANLIB
|
||||
AC_PROG_INSTALL
|
||||
|
2
dist/win/bundle.sh
vendored
2
dist/win/bundle.sh
vendored
@ -24,7 +24,7 @@ rm -f dist/win/spek.res
|
||||
mkdir -p src/dist/win && cp dist/win/spek.res src/dist/win/
|
||||
|
||||
# Compile and strip spek.exe
|
||||
LDFLAGS="dist/win/spek.res" ./configure \
|
||||
LDFLAGS="dist/win/spek.res" ./autogen.sh \
|
||||
--host="$HOST" \
|
||||
--with-wx-config="$WX_CONFIG" \
|
||||
--prefix=${PWD}/dist/win/build && \
|
||||
|
@ -24,6 +24,7 @@
|
||||
*/
|
||||
|
||||
#define __STDC_LIMIT_MACROS
|
||||
#include <wx/intl.h>
|
||||
|
||||
#include <assert.h>
|
||||
#include <math.h>
|
||||
@ -34,8 +35,6 @@
|
||||
|
||||
#include <vector>
|
||||
|
||||
#include <wx/intl.h>
|
||||
|
||||
#include "spek-audio.h"
|
||||
#include "spek-fft.h"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user