summaryrefslogtreecommitdiffstats
path: root/old-configure.in
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2021-01-02 13:35:39 +0000
committerMoonchild <moonchild@palemoon.org>2021-01-02 13:35:39 +0000
commitbabeb5c556de6f9686f5cd47133d0c40c07bfc2e (patch)
tree146dd48634e5d44746acdd49dc142e413349054d /old-configure.in
parent0bb464bfc13e3a0239fd268de265fc332014b385 (diff)
downloadUXP-babeb5c556de6f9686f5cd47133d0c40c07bfc2e.tar
UXP-babeb5c556de6f9686f5cd47133d0c40c07bfc2e.tar.gz
UXP-babeb5c556de6f9686f5cd47133d0c40c07bfc2e.tar.lz
UXP-babeb5c556de6f9686f5cd47133d0c40c07bfc2e.tar.xz
UXP-babeb5c556de6f9686f5cd47133d0c40c07bfc2e.zip
Issue #61 - Reinstate buildability with shared gkmedias dll
This fully works for splitting gkmedias.dll back out from xul with one exception which is Skia throwing undefined externals when linking gkmedias.
Diffstat (limited to 'old-configure.in')
-rw-r--r--old-configure.in10
1 files changed, 9 insertions, 1 deletions
diff --git a/old-configure.in b/old-configure.in
index ade675e95..07b8535c8 100644
--- a/old-configure.in
+++ b/old-configure.in
@@ -4614,8 +4614,16 @@ dnl =
dnl ========================================================
MOZ_ARG_HEADER(Static build options)
+if test "$OS_ARCH" = "WINNT"; then
+ GKMEDIAS_SHARED_LIBRARY=1
+fi
+if test -n "$GKMEDIAS_SHARED_LIBRARY"; then
+ AC_DEFINE(GKMEDIAS_SHARED_LIBRARY)
+fi
+AC_SUBST(GKMEDIAS_SHARED_LIBRARY)
+
if test -z "$MOZ_SYSTEM_ZLIB"; then
-if test -n "$JS_SHARED_LIBRARY"; then
+if test -n "$JS_SHARED_LIBRARY" -o "$GKMEDIAS_SHARED_LIBRARY"; then
ZLIB_IN_MOZGLUE=1
AC_DEFINE(ZLIB_IN_MOZGLUE)
fi