Группа :: Система/Библиотеки
Пакет: libnl
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: libnl-1.1-alt-version-script.patch
Скачать
Скачать
Add the --version-script option to the ld invocation.
The libnl.ver script itself is installed separately,
see specfile.
diff --git a/libnl/lib/Makefile b/libnl/lib/Makefile
index 0bf8af7..60dcb13 100644
--- a/libnl/lib/Makefile
+++ b/libnl/lib/Makefile
@@ -48,7 +48,7 @@ all:
$(OUT_SLIB): ../Makefile.opts $(OBJ)
@echo " LD $(OUT_SLIB)"; \
- $(CC) -shared -Wl,-soname,libnl.so.1 -o $(OUT_SLIB) $(OBJ) $(LIBNL_LIB) -lc
+ $(CC) -shared -Wl,-soname,libnl.so.1 -Wl,--version-script=libnl.ver -o $(OUT_SLIB) $(OBJ) $(LIBNL_LIB) -lc
@echo " LN $(OUT_SLIB) $(LN1_SLIB)"; \
rm -f $(LN1_SLIB) ; $(LN) -s $(OUT_SLIB) $(LN1_SLIB)
@echo " LN $(LN1_SLIB) $(LN_SLIB)"; \