This reverts commit 26cfd0d699.
Reason for revert: Let's check if it works with vs2022 now...
Change-Id: I4b4661b7586d21774e05eb75fd73fe505b8c7ebc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/198992
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
18 lines
597 B
Diff
18 lines
597 B
Diff
--- builds/posix/Makefile.in.examples.before 2024-01-07 20:16:41.073172761 +0000
|
|
+++ builds/posix/Makefile.in.examples 2024-01-07 20:17:23.768143528 +0000
|
|
@@ -59,8 +59,13 @@
|
|
#endif
|
|
GPRE_FLAGS= -m -z -n
|
|
|
|
-LIB_LINK_RPATH = $(call LIB_PLATFORM_RPATH,$(if $(subst intl,,$(1)),$(LIB),$(LIB)/../intl))
|
|
+ifeq ($(PLATFORM),DARWIN)
|
|
+LIB_LINK_RPATH =
|
|
LINK_DARWIN_RPATH = -Wl,-rpath,@loader_path/../$(TARGET)/firebird
|
|
+else
|
|
+LIB_LINK_RPATH = $(call LIB_PLATFORM_RPATH,$(if $(subst intl,,$(1)),$(LIB),$(LIB)/../intl))
|
|
+LINK_DARWIN_RPATH =
|
|
+endif
|
|
LIB_LINK_MAPFILE =
|
|
|
|
EXAMPLES_DEST= $(GEN_ROOT)/examples
|