mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 06:16:36 +00:00
2f20ec7312
libtool: link: i686-w64-mingw32-gcc -shared .libs/libgstrfbsrc.dll.def .libs/libgstrfbsrc_la-gstrfbsrc.o -Wl,--whole-archive ./.libs/librfb.a -Wl,--no-whole-archive -L/usr/i686-w64-mingw32/sys-root/mingw/lib -lgstbase-0.10 -lgstreamer-0.10 -lxml2 -lgobject-2.0 -lgthread-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -mms-bitfields -mms-bitfields -O2 -o .libs/libgstrfbsrc.dll -Wl,--enable-auto-image-base -Xlinker --out-implib -Xlinker .libs/libgstrfbsrc.dll.a Creating library file: .libs/libgstrfbsrc.dll.a ./.libs/librfb.a(librfb_la-rfbdecoder.o): In function `rfb_decoder_read': /home/elmarco/pkg/rhel/mingw-gstreamer-plugins-bad-free/gst-plugins-bad-0.10.23/build_win32/gst/librfb/../../../gst/librfb/rfbdecoder.c:164: undefined reference to `_imp__recv@16' ./.libs/librfb.a(librfb_la-rfbdecoder.o): In function `rfb_decoder_connect_tcp': /home/elmarco/pkg/rhel/mingw-gstreamer-plugins-bad-free/gst-plugins-bad-0.10.23/build_win32/gst/librfb/../../../gst/librfb/rfbdecoder.c:112: undefined reference to `_imp__socket@12' /home/elmarco/pkg/rhel/mingw-gstreamer-plugins-bad-free/gst-plugins-bad-0.10.23/build_win32/gst/librfb/../../../gst/librfb/rfbdecoder.c:119: undefined reference to `_imp__htons@4' /home/elmarco/pkg/rhel/mingw-gstreamer-plugins-bad-free/gst-plugins-bad-0.10.23/build_win32/gst/librfb/../../../gst/librfb/rfbdecoder.c:123: undefined reference to `_imp__inet_addr@4' /home/elmarco/pkg/rhel/mingw-gstreamer-plugins-bad-free/gst-plugins-bad-0.10.23/build_win32/gst/librfb/../../../gst/librfb/rfbdecoder.c:125: undefined reference to `_imp__connect@12' It needs -lws2_32 which is already in $(WINSOCK2_LIBS) https://bugzilla.gnome.org/show_bug.cgi?id=675415
42 lines
1.2 KiB
Makefile
42 lines
1.2 KiB
Makefile
# please keep librfb easily extractable
|
|
|
|
noinst_LTLIBRARIES = librfb.la
|
|
plugin_LTLIBRARIES = libgstrfbsrc.la
|
|
|
|
libgstrfbsrc_la_SOURCES = gstrfbsrc.c
|
|
libgstrfbsrc_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) $(X11_CFLAGS) -I$(srcdir)/..
|
|
libgstrfbsrc_la_LIBADD = $(GST_BASE_LIBS) $(X11_LIBS) $(WINSOCK2_LIBS) librfb.la
|
|
libgstrfbsrc_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
|
libgstrfbsrc_la_LIBTOOLFLAGS = --tag=disable-static
|
|
|
|
librfb_la_SOURCES = \
|
|
rfbbuffer.c \
|
|
rfbdecoder.c \
|
|
d3des.c \
|
|
vncauth.c
|
|
librfb_la_CFLAGS = $(GST_CFLAGS) -I$(srcdir)/..
|
|
librfb_la_LIBADD = $(GLIB_LIBS)
|
|
|
|
noinst_HEADERS = \
|
|
rfb.h \
|
|
rfbdecoder.h \
|
|
rfbbuffer.h \
|
|
rfbcontext.h \
|
|
rfbutil.h \
|
|
gstrfbsrc.h \
|
|
d3des.h \
|
|
vncauth.h
|
|
|
|
Android.mk: Makefile.am $(BUILT_SOURCES)
|
|
androgenizer \
|
|
-:PROJECT libgstlibrfb -:SHARED libgstlibrfb \
|
|
-:TAGS eng debug \
|
|
-:REL_TOP $(top_srcdir) -:ABS_TOP $(abs_top_srcdir) \
|
|
-:SOURCES $(libgstlibrfb_la_SOURCES) \
|
|
-:CFLAGS $(DEFS) $(DEFAULT_INCLUDES) $(libgstlibrfb_la_CFLAGS) \
|
|
-:LDFLAGS $(libgstlibrfb_la_LDFLAGS) \
|
|
$(libgstlibrfb_la_LIBADD) \
|
|
-ldl \
|
|
-:PASSTHROUGH LOCAL_ARM_MODE:=arm \
|
|
LOCAL_MODULE_PATH:='$$(TARGET_OUT)/lib/gstreamer-0.10' \
|
|
> $@
|