1 diff -ruN freeradius-1.0.5-old/src/modules/rlm_sql/drivers/rules.mak freeradius-1.0.5-new/src/modules/rlm_sql/drivers/rules.mak
2 --- freeradius-1.0.5-old/src/modules/rlm_sql/drivers/rules.mak 2003-06-05 22:16:54.000000000 +0200
3 +++ freeradius-1.0.5-new/src/modules/rlm_sql/drivers/rules.mak 2005-10-03 05:33:39.000000000 +0200
6 #######################################################################
7 $(TARGET).a: $(STATIC_OBJS)
8 - $(LIBTOOL) --mode=link $(LD) -module -static $(CFLAGS) $(RLM_SQL_CFLAGS) $^ -o $@
9 + $(LIBTOOL) --mode=link $(LD) -module -static $(CFLAGS) $(RLM_SQL_CFLAGS) $(LDFLAGS) $^ -o $@
12 # If the module is in the list of static modules, then the "dynamic"
14 $(TARGET).la: $(DYNAMIC_OBJS)
15 $(LIBTOOL) --mode=link $(CC) -release $(RADIUSD_VERSION) \
16 -module $(LINK_MODE) $(CFLAGS) \
17 - $(RLM_SQL_CFLAGS) -o $@ -rpath $(libdir) $^ $(RLM_SQL_LIBS)
18 + $(RLM_SQL_CFLAGS) $(LDFLAGS) -o $@ -rpath $(libdir) $^ $(RLM_SQL_LIBS)
20 #######################################################################
22 diff -ruN freeradius-1.0.5-old/src/modules/rules.mak freeradius-1.0.5-new/src/modules/rules.mak
23 --- freeradius-1.0.5-old/src/modules/rules.mak 2005-07-31 14:48:01.000000000 +0200
24 +++ freeradius-1.0.5-new/src/modules/rules.mak 2005-10-03 05:35:05.000000000 +0200
26 #######################################################################
27 $(TARGET).a: $(STATIC_OBJS)
28 $(LIBTOOL) --mode=link $(LD) \
29 - -module -static $(CFLAGS) $(RLM_CFLAGS) $^ -o $@
30 + -module -static $(CFLAGS) $(RLM_CFLAGS) $(LDFLAGS) $(RLM_LDFLAGS) $^ -o $@
33 # If the module is in the list of static modules, then the "dynamic"
36 $(TARGET).la: $(DYNAMIC_OBJS)
37 $(LIBTOOL) --mode=link $(CC) -release $(RADIUSD_VERSION) \
38 - -module $(LINK_MODE) $(LDFLAGS) $(RLM_LDFLAGS) \
39 + -module $(LINK_MODE) $(CFLAGS) $(RLM_CFLAGS) $(LDFLAGS) $(RLM_LDFLAGS) \
40 -o $@ -rpath $(libdir) $^ $(RLM_LIBS) $(LIBS)
42 #######################################################################