Code

openldap plugin: use $PLUGIN_LDFLAGS
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Fri, 3 Jun 2016 18:41:50 +0000 (20:41 +0200)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Fri, 3 Jun 2016 18:41:50 +0000 (20:41 +0200)
Just like the other plugins.

src/Makefile.am

index 3c4d5fd34a46778a31b7475cecf0d5c7dcde09b2..77784b24d99c04ffc35f6a3e5d2dd5d970fe3c02 100644 (file)
@@ -764,7 +764,7 @@ endif
 if BUILD_PLUGIN_OPENLDAP
 pkglib_LTLIBRARIES += openldap.la
 openldap_la_SOURCES = openldap.c
-openldap_la_LDFLAGS = -module -avoid-version $(BUILD_WITH_LIBLDAP_LDFLAGS)
+openldap_la_LDFLAGS = $(PLUGIN_LDFLAGS) $(BUILD_WITH_LIBLDAP_LDFLAGS)
 openldap_la_CFLAGS = $(AM_CFLAGS) $(BUILD_WITH_LIBLDAP_CPPFLAGS)
 openldap_la_LIBADD = -lldap
 endif