Navigation Menu

Skip to content

Commit

Permalink
build: Move FDLIBS after the local libs.
Browse files Browse the repository at this point in the history
We should not import external libs before importing our private libs.
  • Loading branch information
Marco van Wieringen committed Dec 18, 2015
1 parent 663ad21 commit dcfcce8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/filed/Makefile.in
Expand Up @@ -75,7 +75,7 @@ bareos-fd: Makefile $(SVROBJS) \
../lib/libbareos$(DEFAULT_ARCHIVE_TYPE)
@echo "Linking $@ ..."
$(LIBTOOL_LINK) $(CXX) $(WLDFLAGS) $(LDFLAGS) -L../lib -L../findlib -o $@ $(SVROBJS) \
$(FDLIBS) -lbareosfind -lbareoscfg -lbareos -lm $(LIBS) \
-lbareosfind -lbareoscfg -lbareos -lm $(FDLIBS) $(LIBS) \
$(DLIB) $(WRAPLIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS_NONSHARED) $(GNUTLS_LIBS_NONSHARED)

static-bareos-fd: Makefile $(SVROBJS) \
Expand All @@ -84,7 +84,7 @@ static-bareos-fd: Makefile $(SVROBJS) \
../lib/libbareos$(DEFAULT_ARCHIVE_TYPE)
@echo "Linking $@ ..."
$(LIBTOOL_LINK) $(CXX) $(WLDFLAGS) $(LDFLAGS) -static -L../lib -L../findlib -o $@ $(SVROBJS) \
$(FDLIBS) -lbareosfind -lbareoscfg -lbareos -lm $(LIBS) \
-lbareosfind -lbareoscfg -lbareos -lm $(FDLIBS) $(LIBS) \
$(DLIB) $(WRAPLIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS) $(GNUTLS_LIBS)
strip $@

Expand Down

0 comments on commit dcfcce8

Please sign in to comment.