summaryrefslogtreecommitdiff
path: root/src/faketime.c
diff options
context:
space:
mode:
authorWolfgang Hommel <wolfgang.hommel@lrz.de>2013-10-11 16:33:37 +0200
committerWolfgang Hommel <wolfgang.hommel@lrz.de>2013-10-11 16:33:37 +0200
commita0987efa5cf746b1cd63f0fbea456c05c54d6148 (patch)
tree8afd2b9b7f6ce58b68b2f61688908a1d11a19751 /src/faketime.c
parented9009495b34647f25bd37633452bb2cfb05ec3d (diff)
downloadfaketime-ng-a0987efa5cf746b1cd63f0fbea456c05c54d6148.tar.gz
renamed library name from libfaketime.dylib.1 to libfaketime.1.dylib based on Apple design guidelines. Thanks to ryandesign at MacPorts
Diffstat (limited to 'src/faketime.c')
-rw-r--r--src/faketime.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/faketime.c b/src/faketime.c
index 1dfd746..7e5b60a 100644
--- a/src/faketime.c
+++ b/src/faketime.c
@@ -277,11 +277,11 @@ int main (int argc, char **argv)
{
char *ftpl_path;
#ifdef __APPLE__
- ftpl_path = PREFIX "/libfaketime.dylib.1";
+ ftpl_path = PREFIX "/libfaketime.1.dylib";
FILE *check;
check = fopen(ftpl_path, "ro");
if (check == NULL) {
- ftpl_path = PREFIX "/lib/faketime/libfaketime.dylib.1";
+ ftpl_path = PREFIX "/lib/faketime/libfaketime.1.dylib";
}
else {
fclose(check);