Commit f6c86f7a authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Remove -z defs to fix FreeBSD linking.

Someone (I?) ought to work on a better solution
parent 96249f8f
...@@ -934,9 +934,10 @@ RDC_PROG_CC_FLAGS_IFELSE([-pipe]) ...@@ -934,9 +934,10 @@ RDC_PROG_CC_FLAGS_IFELSE([-pipe])
dnl This helps detect broken plugins with undefined symbols dnl This helps detect broken plugins with undefined symbols
dnl Better fail loudly at build-time than silenty at run-time. dnl Better fail loudly at build-time than silenty at run-time.
RDC_PROG_LINK_FLAGS_IFELSE([-Wl,-z,defs], [ dnl Unfortunately, this sucks on FreeBSD (won't even link with -lc)
VLC_ADD_LDFLAGS([plugin],[-Wl,-z,defs]) dnl RDC_PROG_LINK_FLAGS_IFELSE([-Wl,-z,defs], [
]) dnl VLC_ADD_LDFLAGS([plugin],[-Wl,-z,defs])
dnl ])
dnl Check for various optimization flags dnl Check for various optimization flags
AC_CACHE_CHECK([if \$CC accepts -Os], AC_CACHE_CHECK([if \$CC accepts -Os],
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment