summaryrefslogtreecommitdiffstats
path: root/gst/rtp/Makefile.am
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2005-11-14 02:13:35 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2005-11-14 02:13:35 +0000
commit6ff59b2f6e36596ee6f347da307de9b61ff92bdd (patch)
tree94b0f7973c99338603968e83bdf8ca2ba60c13e1 /gst/rtp/Makefile.am
parent57b2ee4bb58e2783618d4ccb385dbf782c4ba3b1 (diff)
rework configure.ac; make asterisk rtp stuff compile on mingw
Original commit message from CVS: rework configure.ac; make asterisk rtp stuff compile on mingw
Diffstat (limited to 'gst/rtp/Makefile.am')
-rw-r--r--gst/rtp/Makefile.am8
1 files changed, 7 insertions, 1 deletions
diff --git a/gst/rtp/Makefile.am b/gst/rtp/Makefile.am
index b4af38ff..877dbefa 100644
--- a/gst/rtp/Makefile.am
+++ b/gst/rtp/Makefile.am
@@ -20,9 +20,15 @@ libgstrtp_la_SOURCES = \
#gstrtpL16enc.c gstrtpL16parse.c gstrtpgsmenc.c gstrtpgsmparse.c
+if HAVE_WINSOCK2_H
+WINSOCK2_LIBS = -lws2_32
+else
+WINSOCK2_LIBS =
+endif
+
libgstrtp_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS)
libgstrtp_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) $(GST_BASE_LIBS) \
- -lgstrtp-@GST_MAJORMINOR@
+ -lgstrtp-@GST_MAJORMINOR@ $(WINSOCK2_LIBS)
libgstrtp_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
noinst_HEADERS = gstrtpL16enc.h \