summaryrefslogtreecommitdiff
path: root/openwrt/package/freeradius/patches/03-freeradius-1.0.5-modules_ldflags.patch
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-01-12 15:17:35 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-01-12 15:17:35 +0000
commited8ce8a1bfcfa9951adbfb7cceecfbc417682e5f (patch)
tree54ac513421596c93adb7f23eaab15260b91b17d9 /openwrt/package/freeradius/patches/03-freeradius-1.0.5-modules_ldflags.patch
parentfffffbc904c62d94524c91b3f94152f9bb6566d0 (diff)
update freeradius to new upstream release (v1.0.5) (closes: #190)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2936 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/freeradius/patches/03-freeradius-1.0.5-modules_ldflags.patch')
-rw-r--r--openwrt/package/freeradius/patches/03-freeradius-1.0.5-modules_ldflags.patch42
1 files changed, 42 insertions, 0 deletions
diff --git a/openwrt/package/freeradius/patches/03-freeradius-1.0.5-modules_ldflags.patch b/openwrt/package/freeradius/patches/03-freeradius-1.0.5-modules_ldflags.patch
new file mode 100644
index 0000000000..4d269682b3
--- /dev/null
+++ b/openwrt/package/freeradius/patches/03-freeradius-1.0.5-modules_ldflags.patch
@@ -0,0 +1,42 @@
+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
+--- freeradius-1.0.5-old/src/modules/rlm_sql/drivers/rules.mak 2003-06-05 22:16:54.000000000 +0200
++++ freeradius-1.0.5-new/src/modules/rlm_sql/drivers/rules.mak 2005-10-03 05:33:39.000000000 +0200
+@@ -67,7 +67,7 @@
+ #
+ #######################################################################
+ $(TARGET).a: $(STATIC_OBJS)
+- $(LIBTOOL) --mode=link $(LD) -module -static $(CFLAGS) $(RLM_SQL_CFLAGS) $^ -o $@
++ $(LIBTOOL) --mode=link $(LD) -module -static $(CFLAGS) $(RLM_SQL_CFLAGS) $(LDFLAGS) $^ -o $@
+
+ #
+ # If the module is in the list of static modules, then the "dynamic"
+@@ -93,7 +93,7 @@
+ $(TARGET).la: $(DYNAMIC_OBJS)
+ $(LIBTOOL) --mode=link $(CC) -release $(RADIUSD_VERSION) \
+ -module $(LINK_MODE) $(CFLAGS) \
+- $(RLM_SQL_CFLAGS) -o $@ -rpath $(libdir) $^ $(RLM_SQL_LIBS)
++ $(RLM_SQL_CFLAGS) $(LDFLAGS) -o $@ -rpath $(libdir) $^ $(RLM_SQL_LIBS)
+
+ #######################################################################
+ #
+diff -ruN freeradius-1.0.5-old/src/modules/rules.mak freeradius-1.0.5-new/src/modules/rules.mak
+--- freeradius-1.0.5-old/src/modules/rules.mak 2005-07-31 14:48:01.000000000 +0200
++++ freeradius-1.0.5-new/src/modules/rules.mak 2005-10-03 05:35:05.000000000 +0200
+@@ -71,7 +71,7 @@
+ #######################################################################
+ $(TARGET).a: $(STATIC_OBJS)
+ $(LIBTOOL) --mode=link $(LD) \
+- -module -static $(CFLAGS) $(RLM_CFLAGS) $^ -o $@
++ -module -static $(CFLAGS) $(RLM_CFLAGS) $(LDFLAGS) $(RLM_LDFLAGS) $^ -o $@
+
+ #
+ # If the module is in the list of static modules, then the "dynamic"
+@@ -96,7 +96,7 @@
+
+ $(TARGET).la: $(DYNAMIC_OBJS)
+ $(LIBTOOL) --mode=link $(CC) -release $(RADIUSD_VERSION) \
+- -module $(LINK_MODE) $(LDFLAGS) $(RLM_LDFLAGS) \
++ -module $(LINK_MODE) $(CFLAGS) $(RLM_CFLAGS) $(LDFLAGS) $(RLM_LDFLAGS) \
+ -o $@ -rpath $(libdir) $^ $(RLM_LIBS) $(LIBS)
+
+ #######################################################################