summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2022-04-27 15:10:05 -0400
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-05-17 00:25:02 -0400
commit0ef249aa26f653677c5368bb51af34f7577ba5b9 (patch)
tree733ab2de3d9a974e555b4034c513ab58c009e68a /mk
parent43628ed44b063e25e6d1394314ed89f07f026503 (diff)
downloadhaskell-0ef249aa26f653677c5368bb51af34f7577ba5b9.tar.gz
Introduce package to capture dependency on C++ stdlib
Here we introduce a new "virtual" package into the initial package database, `system-cxx-std-lib`. This gives users a convenient, platform agnostic way to link against C++ libraries, addressing #20010. Fixes #20010.
Diffstat (limited to 'mk')
-rw-r--r--mk/system-cxx-std-lib-1.0.conf.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/mk/system-cxx-std-lib-1.0.conf.in b/mk/system-cxx-std-lib-1.0.conf.in
new file mode 100644
index 0000000000..34e6eb3596
--- /dev/null
+++ b/mk/system-cxx-std-lib-1.0.conf.in
@@ -0,0 +1,13 @@
+name: system-cxx-std-lib
+version: 1.0
+visibility: public
+id: system-cxx-std-lib-1.0
+key: system-cxx-std-lib-1.0
+synopsis: A placeholder for the system's C++ standard library implementation.
+category: System
+abi: 00000000000000000000000000000000
+exposed: True
+exposed-modules:
+extra-libraries: @CXX_STD_LIB_LIBS@
+library-dirs: @CXX_STD_LIB_LIB_DIRS@
+dynamic-library-dirs: @CXX_STD_LIB_DYN_LIB_DIRS@