summaryrefslogtreecommitdiffstats
path: root/openwrt/package/freeradius/patches/03-modules-ldflags.patch
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-12-07 23:08:54 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-12-07 23:08:54 +0000
commit9fab8199559349775779273a95ea6ecea60a2dc6 (patch)
tree43d8ff4f98dfa7c4430dad64f9650effbad0abb4 /openwrt/package/freeradius/patches/03-modules-ldflags.patch
parentdd3606bf46a0e2954e9422afb47f07f8e49cd51f (diff)
add detail, preprocess and realm sub-packages,
rename patches, prepare for future update. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2597 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/freeradius/patches/03-modules-ldflags.patch')
-rw-r--r--openwrt/package/freeradius/patches/03-modules-ldflags.patch42
1 files changed, 42 insertions, 0 deletions
diff --git a/openwrt/package/freeradius/patches/03-modules-ldflags.patch b/openwrt/package/freeradius/patches/03-modules-ldflags.patch
new file mode 100644
index 000000000..473d488c1
--- /dev/null
+++ b/openwrt/package/freeradius/patches/03-modules-ldflags.patch
@@ -0,0 +1,42 @@
+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
+--- freeradius-1.0.2-orig/src/modules/rlm_sql/drivers/rules.mak 2003-06-05 22:16:54.000000000 +0200
++++ freeradius-1.0.2-2/src/modules/rlm_sql/drivers/rules.mak 2005-03-13 23:53:24.000000000 +0100
+@@ -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.2-orig/src/modules/rules.mak freeradius-1.0.2-2/src/modules/rules.mak
+--- freeradius-1.0.2-orig/src/modules/rules.mak 2002-08-06 18:11:39.000000000 +0200
++++ freeradius-1.0.2-2/src/modules/rules.mak 2005-03-13 23:53:31.000000000 +0100
+@@ -70,7 +70,7 @@
+ #######################################################################
+ $(TARGET).a: $(STATIC_OBJS)
+ $(LIBTOOL) --mode=link $(LD) \
+- -module -static $(CFLAGS) $(RLM_CFLAGS) $^ -o $@
++ -module -static $(CFLAGS) $(RLM_CFLAGS) $(LDFLAGS) $^ -o $@
+
+ #
+ # If the module is in the list of static modules, then the "dynamic"
+@@ -95,7 +95,7 @@
+
+ $(TARGET).la: $(DYNAMIC_OBJS)
+ $(LIBTOOL) --mode=link $(CC) -release $(RADIUSD_VERSION) \
+- -module $(LINK_MODE) $(CFLAGS) $(RLM_CFLAGS) $(RLM_LDFLAGS) \
++ -module $(LINK_MODE) $(CFLAGS) $(RLM_CFLAGS) $(LDFLAGS) $(RLM_LDFLAGS) \
+ -o $@ -rpath $(libdir) $^ $(RLM_LIBS) $(LIBS)
+
+ #######################################################################