diff options
author | Christian Breunig <christian@breunig.cc> | 2025-03-15 21:15:35 +0100 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2025-03-15 21:15:35 +0100 |
commit | 2f19f12b7d8e1616249acf2fcb40d904ed433620 (patch) | |
tree | 4432669c30887fa48c4587a4c84a30093d1574fc /Makefile | |
parent | f1ccb39b2a93b8a1cc0ee83403ee681910d22fbb (diff) | |
download | vyos-1x-2f19f12b7d8e1616249acf2fcb40d904ed433620.tar.gz vyos-1x-2f19f12b7d8e1616249acf2fcb40d904ed433620.zip |
T5400: initialize OPAM environment where it's really needed
Instead of trying to fix - what we call - "Schroedingers build environment"
in the outside world calling this package build, we should rather fix the
Makefile/build system..
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -28,7 +28,7 @@ libvyosconfig: git clone https://github.com/vyos/libvyosconfig.git /tmp/libvyosconfig || exit 1 cd /tmp/libvyosconfig && \ git checkout 677d1e2bf8109b9fd4da60e20376f992b747e384 || exit 1 - ./build.sh + eval $$(opam env --root=/opt/opam --set-root) && ./build.sh fi .PHONY: interface_definitions |