From 78a3107a30e9b4ecae09a0130dad892393fb0415 Mon Sep 17 00:00:00 2001 From: Marcin Krol Date: Mon, 27 Jul 2015 12:08:07 +0000 Subject: [PATCH] - use $(LIBS) instead of hardcoded linking in case something changes in future releases --- postfix-link.patch | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/postfix-link.patch b/postfix-link.patch index 34148fc..58eefb8 100644 --- a/postfix-link.patch +++ b/postfix-link.patch @@ -6,7 +6,7 @@ diff -ur postfix-3.0.2.orig/src/dns/Makefile.in postfix-3.0.2/src/dns/Makefile.i $(AR) $(ARFL) $(LIB) $? $(RANLIB) $(LIB) - $(SHLIB_LD) $(SHLIB_RPATH) -o $(LIB) $(OBJS) $(SHLIB_SYSLIBS) -+ $(SHLIB_LD) $(SHLIB_RPATH) -o $(LIB) $(OBJS) $(SHLIB_SYSLIBS) -L../util -lpostfix-util -L../global -lpostfix-global ++ $(SHLIB_LD) $(SHLIB_RPATH) -o $(LIB) $(OBJS) $(SHLIB_SYSLIBS) $(LIBS) $(LIB_DIR)/$(LIB): $(LIB) cp $(LIB) $(LIB_DIR) @@ -18,7 +18,7 @@ diff -ur postfix-3.0.2.orig/src/global/Makefile.in postfix-3.0.2/src/global/Make $(AR) $(ARFL) $(LIB) $? $(RANLIB) $(LIB) - $(SHLIB_LD) $(SHLIB_RPATH) -o $(LIB) $(OBJS) $(SHLIB_SYSLIBS) -+ $(SHLIB_LD) $(SHLIB_RPATH) -o $(LIB) $(OBJS) $(SHLIB_SYSLIBS) -L../util -lpostfix-util ++ $(SHLIB_LD) $(SHLIB_RPATH) -o $(LIB) $(OBJS) $(SHLIB_SYSLIBS) $(LIBS) $(LIB_DIR)/$(LIB): $(LIB) cp $(LIB) $(LIB_DIR) @@ -30,7 +30,7 @@ diff -ur postfix-3.0.2.orig/src/master/Makefile.in postfix-3.0.2/src/master/Make $(AR) $(ARFL) $(LIB) $? $(RANLIB) $(LIB) - $(SHLIB_LD) $(SHLIB_RPATH) -o $(LIB) $(LIB_OBJ) $(SHLIB_SYSLIBS) -+ $(SHLIB_LD) $(SHLIB_RPATH) -o $(LIB) $(LIB_OBJ) $(SHLIB_SYSLIBS) -L../util -lpostfix-util -L../global -lpostfix-global ++ $(SHLIB_LD) $(SHLIB_RPATH) -o $(LIB) $(LIB_OBJ) $(SHLIB_SYSLIBS) $(LIBS) $(LIB_DIR)/$(LIB): $(LIB) cp $(LIB) $(LIB_DIR)/$(LIB) @@ -42,7 +42,7 @@ diff -ur postfix-3.0.2.orig/src/tls/Makefile.in postfix-3.0.2/src/tls/Makefile.i $(AR) $(ARFL) $(LIB) $? $(RANLIB) $(LIB) - $(SHLIB_LD) $(SHLIB_RPATH) -o $(LIB) $(OBJS) $(SHLIB_SYSLIBS) -+ $(SHLIB_LD) $(SHLIB_RPATH) -o $(LIB) $(OBJS) $(SHLIB_SYSLIBS) -L../util -lpostfix-util -L../global -lpostfix-global -L../dns -lpostfix-dns ++ $(SHLIB_LD) $(SHLIB_RPATH) -o $(LIB) $(OBJS) $(SHLIB_SYSLIBS) $(LIBS) $(LIB_DIR)/$(LIB): $(LIB) cp $(LIB) $(LIB_DIR) -- 2.46.0