aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/zeroc-ice/mcppd_fix.patch
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/zeroc-ice/mcppd_fix.patch
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/zeroc-ice/mcppd_fix.patch')
-rw-r--r--vcpkg/ports/zeroc-ice/mcppd_fix.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/vcpkg/ports/zeroc-ice/mcppd_fix.patch b/vcpkg/ports/zeroc-ice/mcppd_fix.patch
new file mode 100644
index 0000000..3502af8
--- /dev/null
+++ b/vcpkg/ports/zeroc-ice/mcppd_fix.patch
@@ -0,0 +1,24 @@
+--- a/config/Make.project.rules 2022-01-17 10:28:23.000000000
++++ b/config/Make.project.rules 2022-04-18 12:15:19.000000000
+@@ -1050,17 +1050,17 @@
+ #
+ # $(call make-lib,$1=libname)
+ #
+ define make-lib
+ ifneq ($($1_home),)
+ # Check for 3rd party libraries either in home/lib<platform specific subdir> or home/lib
+-$1_installdir = $$($1_home)/lib$$(call platform-var,installdir,$1,$$($$2_platform),$$($$2_config),$$2)
+-$1_libdir ?= $$(strip $$(if $$(wildcard $$($1_installdir)),$$($1_installdir),$$($1_home)/lib))
+-$1_includedir ?= $$($1_home)/include
++$1_installdir =
++$1_libdir ?=
++$1_includedir ?=
+ endif
+-$1_ldflags ?= -l$1
++$1_ldflags ?= -l$$(if $$(and $$(filter mcpp,$1),$$(filter no,$$(OPTIMIZE))),$1d,$1)
+ endef
+
+ #
+ # $(call repathfromdir,path)
+ #
+ # Returns reversed relative path for directory (e.g.: test/Ice/operations