176,16 → 176,18 |
+#include "dlopen_templates.h" |
--- a/servers/Makefile |
+++ b/servers/Makefile |
@@ -73,7 +73,7 @@ ifeq ($(strip $(CCLIENT_KERB_ENABLE)), t |
@@ -60,8 +60,8 @@ ifeq ($(strip $(ACCOUNTD_ENABLE)), true) |
endif |
endif |
|
MYCFLAGS = $(BASECFLAGS) $(SERVER_SSL_INCLUDE) $(CCLIENT_INCLUDE) |
-MYLDFLAGS = $(BASELDFLAGS) |
+MYLDFLAGS = $(BASELDFLAGS) -ldl |
-PRAYER_LIBS = $(BASE_LIBS) $(SERVER_SSL_LIBS) |
-SESSION_LIBS = $(BASE_LIBS) $(CCLIENT_LIBS) |
+PRAYER_LIBS = $(BASE_LIBS) $(SERVER_SSL_LIBS) -ldl |
+SESSION_LIBS = $(BASE_LIBS) $(CCLIENT_LIBS) -ldl |
|
TEMPLATES= ../templates/index.o \ |
../templates/old/templates.a \ |
@@ -84,15 +84,13 @@ TEMPLATES_FRONTEND= ../templates/index.o |
# Add SSL if c-client needs SSL |
ifeq ($(strip $(CCLIENT_SSL_ENABLE)), true) |
@@ -90,15 +90,13 @@ TEMPLATES_FRONTEND= ../templates/index.o |
../templates/cam/templates_frontend.a |
|
PRAYER_OBJS= prayer.o prayer_login.o prayer_server.o portlist.o \ |
215,7 → 217,7 |
ifeq ($(strip $(ACCOUNTD_ENABLE)), true) |
--- a/servers/session_exchange.c |
+++ b/servers/session_exchange.c |
@@ -212,6 +212,8 @@ BOOL session_exchange(struct session * s |
@@ -144,6 +144,8 @@ BOOL session_exchange(struct session * s |
else |
template_set = config->template_set; /* Safe default */ |
|