conftest: Fix hook constructor resolution via dlsym()
[strongswan.git] / src / conftest / Makefile.am
index 2aafc7a..900741d 100644 (file)
@@ -1,11 +1,13 @@
 ipsec_PROGRAMS = conftest
 
-AM_CPPFLAGS = -rdynamic \
+AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libstrongswan \
        -I$(top_srcdir)/src/libhydra \
        -I$(top_srcdir)/src/libcharon \
        -DPLUGINS=\""${charon_plugins}\""
 
+AM_CFLAGS = -rdynamic
+
 conftest_SOURCES = conftest.c conftest.h config.c config.h actions.c actions.h \
        hooks/hook.h hooks/ike_auth_fill.c hooks/unsort_message.c \
        hooks/add_notify.c hooks/unencrypted_notify.c hooks/ignore_message.c \