summaryrefslogtreecommitdiffstats
path: root/main/bacula-client/bacula-5.2.3-lib-search-path.patch
blob: f33964e74720937e245cadf8235025468db61ff5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# If upgrading the old libraries gets linked first. So fix order of lib search path.
--- a/src/console/Makefile.in.orig	2010-03-29 11:35:00.000000000 +0000
+++ b/src/console/Makefile.in	2010-03-29 11:45:14.000000000 +0000
@@ -47,7 +47,7 @@
 
 
 bconsole: Makefile $(CONSOBJS) ../lib/libbac$(DEFAULT_ARCHIVE_TYPE) ../lib/libbaccfg$(DEFAULT_ARCHIVE_TYPE)
-	$(LIBTOOL_LINK) $(CXX) $(LDFLAGS) $(CONS_LDFLAGS) -L../lib -L../cats -o $@ $(CONSOBJS) \
+	$(LIBTOOL_LINK) $(CXX) -L../lib -L../cats $(LDFLAGS) $(CONS_LDFLAGS) -o $@ $(CONSOBJS) \
 	      $(DLIB) $(CONS_LIBS) -lbaccfg -lbac -lm $(LIBS) $(GETTEXT_LIBS) \
 	      $(OPENSSL_LIBS)