diff --git a/tests/Makefile.am b/tests/Makefile.am index 460efb6b7b..f92710db43 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -56,6 +56,9 @@ DRIVERLIB_LDFLAGS = \ -avoid-version \ -rpath /evil/libtool/hack/to/force/shared/lib/creation \ $(MINGW_EXTRA_LDFLAGS) +if WITH_MACOS +DRIVERLIB_LDFLAGS += -Wl,-flat_namespace +endif WITH_MACOS PROBES_O = if WITH_DTRACE_PROBES