From 5fc531e2da356d73c26ded2447a96a9b26dc5972 Mon Sep 17 00:00:00 2001 From: Miku AuahDark Date: Sat, 15 Apr 2023 13:38:33 +0800 Subject: [PATCH] Fix current directory determination. --- Makefile | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 4802b80..c9c6a3c 100644 --- a/Makefile +++ b/Makefile @@ -40,7 +40,7 @@ override INSTALLPREFIX := $(CURDIR)/installdir override CMAKE_PREFIX := $(CURDIR)/cmake CMAKE := $(CMAKE_PREFIX)/bin/cmake override CMAKE_OPTS := --install-prefix $(INSTALLPREFIX) -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_RPATH='$$ORIGIN/../lib' -override CONFIGURE := LDFLAGS="-Wl,-rpath,'\$$\$$ORIGIN/../lib' $$LDFLAGS" LD_LIBRARY_PATH=$PWD/installdir/lib:${LD_LIBRARY_PATH} ../configure --prefix=$(INSTALLPREFIX) +override CONFIGURE := LDFLAGS="-Wl,-rpath,'\$$\$$ORIGIN/../lib' $$LDFLAGS" LD_LIBRARY_PATH=$(CURDIR)/installdir/lib:${LD_LIBRARY_PATH} ../configure --prefix=$(INSTALLPREFIX) # CMake setup ifeq ($(SYSTEM_CMAKE),) diff --git a/README.md b/README.md index 2b5a513..12d263f 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ Build First, install these dependencies (adapt accordingly for non-Debian distro): ```sh -sudo apt-get install autotools-dev automake autoconf libtool patchelf curl +sudo apt-get install autotools-dev automake autoconf libtool patchelf curl pkg-config ``` Then followed by [all dependencies required by SDL](https://github.com/libsdl-org/SDL/blob/main/docs/README-linux.md#build-dependencies), but **not** the SDL itself.