Relative include
authorMathieu Baudier <mbaudier@argeo.org>
Thu, 16 Mar 2023 07:29:14 +0000 (08:29 +0100)
committerMathieu Baudier <mbaudier@argeo.org>
Thu, 16 Mar 2023 07:29:14 +0000 (08:29 +0100)
osgi.mk

diff --git a/osgi.mk b/osgi.mk
index 227ec17133b0ca24abc1d63b7c9c8179e6154aad..353e3e957118354654d962b8020299d2bbf0a7a1 100644 (file)
--- a/osgi.mk
+++ b/osgi.mk
@@ -1,4 +1,5 @@
-include common.mk
+SELF_DIR := $(dir $(lastword $(MAKEFILE_LIST)))
+include $(SELF_DIR)common.mk
 #
 # Common build routines to be included in Makefiles
 #