add mirror url
[openwrt.git] / openwrt / package / freeradius / patches / 03-freeradius-1.0.5-modules_ldflags.patch
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
4 @@ -67,7 +67,7 @@
5 #
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 $@
10
11 #
12 # If the module is in the list of static modules, then the "dynamic"
13 @@ -93,7 +93,7 @@
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)
19
20 #######################################################################
21 #
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
25 @@ -71,7 +71,7 @@
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 $@
31
32 #
33 # If the module is in the list of static modules, then the "dynamic"
34 @@ -96,7 +96,7 @@
35
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)
41
42 #######################################################################
This page took 0.043224 seconds and 5 git commands to generate.