aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rpath.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpath.c b/src/rpath.c
index 1412130..a6b6b6c 100644
--- a/src/rpath.c
+++ b/src/rpath.c
@@ -72,7 +72,7 @@ int has_rpath(const char *_filename) {
*/
char *rpath_get(const char *_filename) {
if ((has_rpath(_filename)) != 0) {
- return NULL;
+ return strdup("");
}
char *filename = strdup(_filename);
if (!filename) {