From 7725949c2292cf936040fffedb9b07f87fe43c96 Mon Sep 17 00:00:00 2001 From: TopchetoEU <36534413+TopchetoEU@users.noreply.github.com> Date: Fri, 28 Oct 2022 14:55:24 +0300 Subject: [PATCH] fix: linux issues (of course) --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 33b103a..1cf1ca9 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ export MAKEFLAGS += --silent -r -j export flags=-std=c++17 -Wall -Wno-main -Wno-trigraphs -Wno-missing-braces -Wno-stringop-overflow -DPROFILE_$(profile) -fdiagnostics-color=always -export ldflags=-L$(bin)/$(profile) +export ldflags=-L$(bin)/$(profile) -Wl,-rpath=bin/$(profile) export lib=ppc$(version-major)- export profile=release @@ -28,7 +28,6 @@ ifeq ($(profile),release) flags += -O3 else ifeq ($(profile),debug) flags += -g -ldflags+= -Wl,-rpath=bin/debug endif oldbin := $(bin)