1 diff -ruN freeradius-1.0.2-orig/src/modules/rlm_sql/drivers/rules.mak freeradius-1.0.2-2/src/modules/rlm_sql/drivers/rules.mak
2 --- freeradius-1.0.2-orig/src/modules/rlm_sql/drivers/rules.mak 2003-06-05 22:16:54.000000000 +0200
3 +++ freeradius-1.0.2-2/src/modules/rlm_sql/drivers/rules.mak 2005-03-13 23:53:24.000000000 +0100
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.2-orig/src/modules/rules.mak freeradius-1.0.2-2/src/modules/rules.mak
23 --- freeradius-1.0.2-orig/src/modules/rules.mak 2002-08-06 18:11:39.000000000 +0200
24 +++ freeradius-1.0.2-2/src/modules/rules.mak 2005-03-13 23:53:31.000000000 +0100
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) $^ -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) $(CFLAGS) $(RLM_CFLAGS) $(RLM_LDFLAGS) \
39 + -module $(LINK_MODE) $(CFLAGS) $(RLM_CFLAGS) $(LDFLAGS) $(RLM_LDFLAGS) \
40 -o $@ -rpath $(libdir) $^ $(RLM_LIBS) $(LIBS)
42 #######################################################################