commit 89cb4a1fc14fcd3052b6d79e03e78762398c0dec
parent de2a6e456312fc5156f0fa42d875b23685413f55
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Sat, 27 Apr 2024 14:55:56 +0200
Fix the pkg-config file
The private dependency on Star WoS Functions was not defined, leading to
link editing errors when trying to establish a static link with
stardis-solver.
Diffstat:
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
@@ -116,6 +116,7 @@ pkg:
-e 's#@SENC2D_VERSION@#$(SENC2D_VERSION)#g'\
-e 's#@SENC3D_VERSION@#$(SENC3D_VERSION)#g'\
-e 's#@SSP_VERSION@#$(SSP_VERSION)#g'\
+ -e 's#@SWF_VERSION@#$(SWF_VERSION)#g'\
-e 's#@MPI@#$(PKG_$(DISTRIB_PARALLELISM))#g'\
sdis.pc.in > sdis.pc
@@ -129,6 +130,7 @@ sdis-local.pc: sdis.pc.in config.mk
-e 's#@SENC2D_VERSION@#$(SENC2D_VERSION)#g'\
-e 's#@SENC3D_VERSION@#$(SENC3D_VERSION)#g'\
-e 's#@SSP_VERSION@#$(SSP_VERSION)#g'\
+ -e 's#@SWF_VERSION@#$(SWF_VERSION)#g'\
-e 's#@MPI@#$(PKG_$(DISTRIB_PARALLELISM))#g'\
sdis.pc.in > $@
diff --git a/sdis.pc.in b/sdis.pc.in
@@ -9,7 +9,8 @@ Requires: \
star-sp >= @SSP_VERSION@
Requires.private:\
senc2d >= @SENC3D_VERSION@,\
- senc3d >= @SENC3D_VERSION@ @MPI@
+ senc3d >= @SENC3D_VERSION@, \
+ swf >= @SWF_VERSION@ @MPI@
Name: sdis
Description: Stardis Solver
Version: @VERSION@