Skip to content

Commit

Permalink
Plugin: Fix MingW build of httplib fopr windows
Browse files Browse the repository at this point in the history
  • Loading branch information
hbeni committed May 14, 2024
1 parent 45e59af commit 14a0490
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/mumble-plugin/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -107,14 +107,14 @@ plugin-win64-only: mingwprefix=x86_64-w64-mingw32-
plugin-win64-only: CC=$(mingwprefix)g++-posix
plugin-win64-only: plugin-win-dllresource
# Build plugin win64
$(CC) -fPIC --shared -DMINGW_WIN64 -o $(outname) dllResource.o lib/io_plugin.cpp lib/radio_model.cpp lib/audio.cpp lib/io_UDPServer.cpp lib/io_UDPClient.cpp lib/garbage_collector.cpp fgcom-mumble.cpp $(SSLFLAGS_WIN) $(CFLAGS_WIN) $(THREADS_WIN)
$(CC) -fPIC --shared -D_WIN64 -DMINGW_WIN64 -o $(outname) dllResource.o lib/io_plugin.cpp lib/radio_model.cpp lib/audio.cpp lib/io_UDPServer.cpp lib/io_UDPClient.cpp lib/garbage_collector.cpp fgcom-mumble.cpp $(SSLFLAGS_WIN) $(CFLAGS_WIN) $(THREADS_WIN)

plugin-win32-only: outname=fgcom-mumble-x86_32.dll
plugin-win32-only: mingwprefix=i686-w64-mingw32-
plugin-win32-only: CC=$(mingwprefix)g++-posix
plugin-win32-only: plugin-win-dllresource
# Build plugin win32
$(CC) -m32 -fPIC --shared -DMINGW_WIN32 -o $(outname) dllResource.o lib/io_plugin.cpp lib/radio_model.cpp lib/audio.cpp lib/io_UDPServer.cpp lib/io_UDPClient.cpp lib/garbage_collector.cpp fgcom-mumble.cpp $(SSLFLAGS_WIN) $(CFLAGS_WIN) $(THREADS_WIN)
$(CC) -m32 -fPIC --shared -D_WIN32 -DMINGW_WIN32 -o $(outname) dllResource.o lib/io_plugin.cpp lib/radio_model.cpp lib/audio.cpp lib/io_UDPServer.cpp lib/io_UDPClient.cpp lib/garbage_collector.cpp fgcom-mumble.cpp $(SSLFLAGS_WIN) $(CFLAGS_WIN) $(THREADS_WIN)

GITVER:=$(shell git log -1 --pretty=format:"%h")
GITDATE:=$(shell git log -1 --pretty=format:"%cd" --date=short)
Expand Down

0 comments on commit 14a0490

Please sign in to comment.