summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2022-10-11 16:35:19 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2022-10-18 16:57:47 +0300
commit50af91cf7cbe485d754b12a743dcf7202fad6132 (patch)
treebb0fbfbba1c55d429f4a2e7bc66e9e1f3f262f7d
parentc19d14f1de84744632af6dae64e9fccf69cc3a7c (diff)
Fix link order so that libraries are linked after all object files
-rw-r--r--libxerces-c/xercesc/buildfile5
1 files 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).