Skip to content

Commit b9dcf5b

Browse files
committed
define default PACKAGE_STRING
This allows to build patchelf without build system. Fixes #114 and #102
1 parent 2982586 commit b9dcf5b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/patchelf.cc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@
4040

4141
#include "elf.h"
4242

43+
#ifndef PACKAGE_STRING \
44+
#define PACKAGE_STRING "patchelf"
45+
#endif
4346

4447
static bool debugMode = false;
4548

0 commit comments

Comments
 (0)