]> git.sesse.net Git - vlc/commitdiff
* configure.ac: Link against dependent static libraries successfully on
authorAndre Pang <andrep@videolan.org>
Mon, 7 Mar 2005 13:00:48 +0000 (13:00 +0000)
committerAndre Pang <andrep@videolan.org>
Mon, 7 Mar 2005 13:00:48 +0000 (13:00 +0000)
  Mac OS X

configure.ac

index ea9b715b5431ee6f6b6fb8ea5f88660f7f499a34..83f802ef01b20c2071599617e43526e0a7aa80bd 100644 (file)
@@ -129,7 +129,7 @@ case "${target_os}" in
     VLC_ADD_LDFLAGS([mp4], [-framework IOKit -framework CoreFoundation])
     VLC_ADD_CFLAGS([libvlc],[-x objective-c])
     VLC_ADD_CFLAGS([vlc],[-x objective-c])
-    VLC_ADD_LDFLAGS([vlc],[-Wl,-multiply_defined,suppress])
+    VLC_ADD_LDFLAGS([vlc],[-Wl,-m -Wl,-multiply_defined -Wl,suppress])
     ;;
   *mingw32* | *cygwin* | *wince* | *mingwce* | *pe*)
     AC_CHECK_TOOL(WINDRES, windres, :)