From ee3dae9ebedc61e1ce6ad1ec00b87bc7ff623b77 Mon Sep 17 00:00:00 2001 From: darealshinji Date: Mon, 30 Jan 2017 03:28:15 +0100 Subject: [PATCH] always define PACKAGE_STRING and PAGESIZE This way you can compile the program in a simple one-liner. That can always come in handy. --- src/patchelf.cc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/patchelf.cc b/src/patchelf.cc index 619d4033..40e56b2b 100644 --- a/src/patchelf.cc +++ b/src/patchelf.cc @@ -40,6 +40,14 @@ #include "elf.h" +#ifndef PACKAGE_STRING +#define PACKAGE_STRING "patchelf" +#endif +#ifndef PAGESIZE +#define PAGESIZE 4096 +#endif + + static bool debugMode = false; static bool forceRPath = false;