diff options
author | Baptiste DURAND <baptiste.durand@eurogiciel.fr> | 2013-05-28 10:04:36 +0200 |
---|---|---|
committer | Baptiste DURAND <baptiste.durand@eurogiciel.fr> | 2013-05-28 10:04:36 +0200 |
commit | 268dabba5f5241a4455ba2e6d9ede10cb014e1a3 (patch) | |
tree | a3cedb6230cbbd49ef1c3f77eaf3692c6b300f3a | |
parent | 1740e7d3430d0c3eefe36b461803f821f03a0ced (diff) | |
download | libslp-location-268dabba5f5241a4455ba2e6d9ede10cb014e1a3.tar.gz libslp-location-268dabba5f5241a4455ba2e6d9ede10cb014e1a3.tar.bz2 libslp-location-268dabba5f5241a4455ba2e6d9ede10cb014e1a3.zip |
Fix build for x86_64 arch
fix hardcoded library path
-rwxr-xr-x | configure.ac | 2 | ||||
-rw-r--r-- | location/module/module-internal.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 803905b..7b2f4b3 100755 --- a/configure.ac +++ b/configure.ac @@ -76,7 +76,7 @@ if ([test "x$enable_dlog" = xyes]); then LOCATION_LIBS="$LOCATION_LIBS $DLOG_LIBS" fi fi - +LOCATION_CFLAGS="$LOCATION_CFLAGS -DLIBPATH=\\\"$libdir\\\"" # Generate files AC_CONFIG_FILES([ location.pc diff --git a/location/module/module-internal.c b/location/module/module-internal.c index e4d0fdd..6145e19 100644 --- a/location/module/module-internal.c +++ b/location/module/module-internal.c @@ -32,7 +32,7 @@ #include "location-log.h" #define MAX_MODULE_INDEX 3 -const char* MODULE_PATH_PREFIX = "/usr/lib/location/module"; +const char* MODULE_PATH_PREFIX = LIBPATH "/location/module"; static GMod* gmod_new (const char* module_name, gboolean is_resident) |