]> git.sesse.net Git - vlc/commitdiff
Remove -z defs to fix FreeBSD linking.
authorRémi Denis-Courmont <rem@videolan.org>
Mon, 11 Dec 2006 12:16:39 +0000 (12:16 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Mon, 11 Dec 2006 12:16:39 +0000 (12:16 +0000)
Someone (I?) ought to work on a better solution

configure.ac

index 0c900df7488a19cbad5f14fe1daa9fef71ff9ab8..569b6f4c44fa2cced2681cb5d4dc4408b03e75ab 100644 (file)
@@ -934,9 +934,10 @@ RDC_PROG_CC_FLAGS_IFELSE([-pipe])
 
 dnl This helps detect broken plugins with undefined symbols
 dnl Better fail loudly at build-time than silenty at run-time.
-RDC_PROG_LINK_FLAGS_IFELSE([-Wl,-z,defs], [
-  VLC_ADD_LDFLAGS([plugin],[-Wl,-z,defs])
-])
+dnl Unfortunately, this sucks on FreeBSD (won't even link with -lc)
+dnl RDC_PROG_LINK_FLAGS_IFELSE([-Wl,-z,defs], [
+dnl   VLC_ADD_LDFLAGS([plugin],[-Wl,-z,defs])
+dnl ])
 
 dnl Check for various optimization flags
 AC_CACHE_CHECK([if \$CC accepts -Os],