From b9dcf5b705d01b480549bb311e05fbbf152be4d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Tue, 10 Aug 2021 20:48:17 +0200 Subject: [PATCH] define default PACKAGE_STRING This allows to build patchelf without build system. Fixes https://github.com/NixOS/patchelf/pull/114 and https://github.com/NixOS/patchelf/issues/102 --- src/patchelf.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/patchelf.cc b/src/patchelf.cc index 47d95c3d..d02bc491 100644 --- a/src/patchelf.cc +++ b/src/patchelf.cc @@ -40,6 +40,9 @@ #include "elf.h" +#ifndef PACKAGE_STRING \ +#define PACKAGE_STRING "patchelf" +#endif static bool debugMode = false;