From 50af91cf7cbe485d754b12a743dcf7202fad6132 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Tue, 11 Oct 2022 16:35:19 +0300 Subject: Fix link order so that libraries are linked after all object files --- libxerces-c/xercesc/buildfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libxerces-c/xercesc/buildfile b/libxerces-c/xercesc/buildfile index 1043c51..c50b091 100644 --- a/libxerces-c/xercesc/buildfile +++ b/libxerces-c/xercesc/buildfile @@ -16,8 +16,7 @@ lib{xerces-c}: {h }{config} \ {hxx txx cxx}{*/** -util/FileManagers/** \ -util/NetAccessors/** \ -util/XercesVersion} \ - {hxx }{ util/XercesVersion} \ - $intf_libs $impl_libs + {hxx }{ util/XercesVersion} tclass = $cxx.target.class tsys = $cxx.target.system @@ -31,6 +30,8 @@ lib{xerces-c}: util/FileManagers/{hxx cxx}{WindowsFileMgr}: include = $windows lib{xerces-c}: util/NetAccessors/Curl/{hxx cxx}{*}: include = $network +lib{xerces-c}: $intf_libs $impl_libs + # Include the generated version header into the distribution (so that we # don't pick up an installed one) and don't remove it when cleaning in src (so # that clean results in a state identical to distributed). -- cgit v1.1