[vlc-devel] commit: Request flags for static linking on win32 and MacOS ( Christophe Mutricy )
git version control
git at videolan.org
Fri Dec 11 22:00:57 CET 2009
vlc | branch: 1.0-bugfix | Christophe Mutricy <xtophe at videolan.org> | Sun Oct 25 21:15:32 2009 +0000| [a6d3c4828c0640f780a27f49ffef45c830866e84] | committer: Pierre Ynard
Request flags for static linking on win32 and MacOS
Only tested on a minimal win32 build. Please report configure/linking failure
(cherry picked from commit 5d6f80f267e3bfe000fa0d29f5056d889d045e58)
Signed-off-by: Pierre Ynard <linkfanel at yahoo.fr>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a6d3c4828c0640f780a27f49ffef45c830866e84
---
configure.ac | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/configure.ac b/configure.ac
index 1702b68..fe13882 100644
--- a/configure.ac
+++ b/configure.ac
@@ -939,6 +939,12 @@ AC_ARG_VAR(PKG_CONFIG_PATH,
[Paths where to find .pc not at the default location])
PKG_PROG_PKG_CONFIG()
+dnl On some OS we need static linking
+AS_IF([test "${SYS}" = "mingw32" -o "${SYS}" = "mingwce" -o "${SYS}" = "darwin" ],[
+ PKG_CONFIG = "${PKG_CONFIG} --static"
+ ])
+
+
dnl
dnl Check for zlib.h and -lz along with system -lminizip if available
dnl
More information about the vlc-devel
mailing list