mirror of
https://github.com/profanity-im/profanity.git
synced 2024-11-03 19:37:16 -05:00
Fixed cygwin compile
This commit is contained in:
parent
261bbd3fc0
commit
9d263d7c83
@ -291,9 +291,7 @@ AS_IF([test "x$PACKAGE_STATUS" = xdevelopment],
|
||||
AM_LDFLAGS="$AM_LDFLAGS -export-dynamic"
|
||||
AM_CPPFLAGS="$AM_CPPFLAGS $glib_CFLAGS $curl_CFLAGS $libnotify_CFLAGS $PYTHON_CPPFLAGS ${GTK_CFLAGS}"
|
||||
AM_CPPFLAGS="$AM_CPPFLAGS -DTHEMES_PATH=\"\\\"$THEMES_PATH\\\"\" -DICONS_PATH=\"\\\"$ICONS_PATH\\\"\""
|
||||
LIBS="$glib_LIBS $curl_LIBS $libnotify_LIBS $PYTHON_LIBS $PYTHON_LDFLAGS ${GTK_LIBS} $LIBS"
|
||||
AS_IF([test "x$PLATFORM" = xosx],
|
||||
[LIBS="$LIBS -lgio-2.0"])
|
||||
LIBS="$glib_LIBS $curl_LIBS $libnotify_LIBS $PYTHON_LIBS $PYTHON_LDFLAGS ${GTK_LIBS} -lgio-2.0 $LIBS"
|
||||
|
||||
AC_SUBST(AM_LDFLAGS)
|
||||
AC_SUBST(AM_CFLAGS)
|
||||
|
@ -35,6 +35,11 @@
|
||||
#ifndef TOOLS_HTTP_UPLOAD_H
|
||||
#define TOOLS_HTTP_UPLOAD_H
|
||||
|
||||
#ifdef PLATFORM_CYGWIN
|
||||
#define SOCKET int
|
||||
#endif
|
||||
|
||||
#include <sys/socket.h>
|
||||
#include <curl/curl.h>
|
||||
|
||||
// forward -> ui/win_types.h
|
||||
|
Loading…
Reference in New Issue
Block a user