• unknown's avatar
    Bug#30296 · 0bb55050
    unknown authored
      "Dynamic plugins fail to load on FreeBSD"
      ELF executables need to be linked using the -export-dynamic option to
      ld(1) for symbols defined in the executable to become visible to dlsym().
      Also, do not build plugins on an all-static build.
    
    
    configure.in:
      Bug#30296
        Use "-export-dynamic" when building executable for use with plugins.
        Add required option using MYSQLD_EXTRA_LDFLAGS variable so we do not
        affect any other binary.
    config/ac-macros/plugins.m4:
      Do not build plugins when building all-static
    sql/sql_yacc.yy:
      build fix - surplus semicolon
    0bb55050
plugins.m4 22.9 KB