Группа :: Система/Серверы
Пакет: freeradius
Главная Изменения Спек Патчи Загрузить Bugs and FR
Патч: freeradius-1.1.2-libdir.diff
diff -Naur freeradius-1.1.2/src/modules/rlm_sql/drivers/rules.mak freeradius-1.1.2.oden/src/modules/rlm_sql/drivers/rules.mak
--- freeradius-1.1.2/src/modules/rlm_sql/drivers/rules.mak 2006-02-10 20:47:19.000000000 +0100
+++ freeradius-1.1.2.oden/src/modules/rlm_sql/drivers/rules.mak 2006-06-07 10:47:37.000000000 +0200
@@ -101,7 +101,7 @@
$(TARGET).la: $(LT_OBJS)
$(LIBTOOL) --mode=link $(CC) -release $(RADIUSD_VERSION) \
-module $(LINK_MODE) $(LDFLAGS) $(RLM_SQL_LDFLAGS) -o $@ \
- -rpath $(libdir) $^ $(RLM_SQL_LIBS)
+ -rpath $(libdir) $^ -L$(libdir) $(RLM_SQL_LIBS)
#######################################################################
#
diff -Naur freeradius-1.1.2/src/modules/rules.mak freeradius-1.1.2.oden/src/modules/rules.mak
--- freeradius-1.1.2/src/modules/rules.mak 2006-05-25 18:24:40.000000000 +0200
+++ freeradius-1.1.2.oden/src/modules/rules.mak 2006-06-07 10:47:51.000000000 +0200
@@ -113,8 +113,8 @@
$(TARGET).la: $(LT_OBJS)
$(LIBTOOL) --mode=link $(CC) -release $(RADIUSD_VERSION) \
-module $(LINK_MODE) $(LDFLAGS) $(RLM_LDFLAGS) -o $@ \
- -rpath $(libdir) $^ $(top_builddir)/src/lib/libradius.la \
- $(RLM_LIBS) $(LIBS)
+ -rpath $(libdir) $^ \
+ $(RLM_LIBS) -L$(libdir) $(LIBS)
#######################################################################
#