Skip to content

Commit

Permalink
fix: mingw builds (#4290)
Browse files Browse the repository at this point in the history
Fix mingw builds
  • Loading branch information
joveeater authored Mar 4, 2024
1 parent 729b2b5 commit ea2ad8e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -582,6 +582,7 @@ ifeq ($(TARGETSYSTEM),WINDOWS)
BINDIST_CMD = $(W32BINDIST_CMD)
ODIR = $(W32ODIR)
ODIRLUA = $(W32ODIRLUA)
OTHER += -Wa,-mbig-obj
ifeq ($(DYNAMIC_LINKING), 1)
# Windows isn't sold with programming support, these are static to remove MinGW dependency.
LDFLAGS += -static-libgcc -static-libstdc++
Expand Down
2 changes: 1 addition & 1 deletion src/catalua_luna_doc.h
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ LUNA_DOC( bool, "bool" );
LUNA_DOC( int, "int" );
LUNA_DOC( unsigned int, "int" );
LUNA_DOC( std::int64_t, "int" );
LUNA_DOC( size_t, "int" );
//LUNA_DOC( size_t, "int" ); This conflicts with the previous unsigned int def on some systems
LUNA_DOC( float, "double" );
LUNA_DOC( double, "double" );
LUNA_DOC( void, "nil" );
Expand Down

0 comments on commit ea2ad8e

Please sign in to comment.