Added serdisplib, thanks to Christoph Haderer for the package
[openwrt.git] / openwrt / package / freeradius / patches / 03-modules-ldflags.patch
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
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.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
25 @@ -70,7 +70,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) $^ -o $@
31
32 #
33 # If the module is in the list of static modules, then the "dynamic"
34 @@ -95,7 +95,7 @@
35
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)
41
42 #######################################################################
This page took 0.038605 seconds and 5 git commands to generate.