mirror of
https://github.com/michaelrsweet/mxml.git
synced 2024-11-14 15:55:30 +00:00
Add libmxml1.dll target and support for mingw cross-compilation (Issue #188)
This commit is contained in:
parent
5b4a398c01
commit
3700ebd2c3
@ -251,6 +251,15 @@ $(LIBOBJS): mxml.h
|
|||||||
mxml-entity.o mxml-file.o mxml-private.o: mxml-private.h
|
mxml-entity.o mxml-file.o mxml-private.o: mxml-private.h
|
||||||
|
|
||||||
|
|
||||||
|
#
|
||||||
|
# libmxml1.dll
|
||||||
|
#
|
||||||
|
|
||||||
|
libmxml1.dll: $(LIBOBJS)
|
||||||
|
echo Creating $@...
|
||||||
|
$(DSO) $(DSOFLAGS) -o $@ $(LIBOBJS)
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# libmxml.so.1.5
|
# libmxml.so.1.5
|
||||||
#
|
#
|
||||||
|
8
configure
vendored
8
configure
vendored
@ -4560,6 +4560,14 @@ $as_echo "yes" >&6; }
|
|||||||
DSOFLAGS="$DSOFLAGS \$(RC_CFLAGS) -dynamiclib -lc"
|
DSOFLAGS="$DSOFLAGS \$(RC_CFLAGS) -dynamiclib -lc"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
mingw)
|
||||||
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
||||||
|
$as_echo "yes" >&6; }
|
||||||
|
LIBMXML="libmxml1.dll"
|
||||||
|
DSO="\$(CC)"
|
||||||
|
DSOFLAGS="$DSOFLAGS -shared -Wl,--out-implib,libmxml1.a,--no-undefined,--enable-runtime-pseudo-reloc"
|
||||||
|
;;
|
||||||
|
|
||||||
*)
|
*)
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
||||||
$as_echo "no" >&6; }
|
$as_echo "no" >&6; }
|
||||||
|
@ -226,6 +226,13 @@ if test x$enable_shared != xno; then
|
|||||||
DSOFLAGS="$DSOFLAGS \$(RC_CFLAGS) -dynamiclib -lc"
|
DSOFLAGS="$DSOFLAGS \$(RC_CFLAGS) -dynamiclib -lc"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
mingw)
|
||||||
|
AC_MSG_RESULT(yes)
|
||||||
|
LIBMXML="libmxml1.dll"
|
||||||
|
DSO="\$(CC)"
|
||||||
|
DSOFLAGS="$DSOFLAGS -shared -Wl,--out-implib,libmxml1.a,--no-undefined,--enable-runtime-pseudo-reloc"
|
||||||
|
;;
|
||||||
|
|
||||||
*)
|
*)
|
||||||
AC_MSG_RESULT(no)
|
AC_MSG_RESULT(no)
|
||||||
AC_MSG_WARN(shared libraries not supported on this platform.)
|
AC_MSG_WARN(shared libraries not supported on this platform.)
|
||||||
|
Loading…
Reference in New Issue
Block a user