diff options
author | ramon <ramongomez@us.es> | 2011-06-30 10:43:27 +0000 |
---|---|---|
committer | ramon <ramongomez@us.es> | 2011-06-30 10:43:27 +0000 |
commit | 89ff8ed80011e490059a44297cb14d707c0b661f (patch) | |
tree | ab81c23456b7975ee35870ea9a8c793454fa1954 /admin/Sources/Services/ogAdmRepo/Makefile | |
parent | 3aada2de2d56a7d4b9cd087b882f0a53d7d8bc6d (diff) |
VersiĆ³n 1.0.2: configurados Makefile para compilar servicios tanto para 32 como 64 bits.
git-svn-id: https://opengnsys.es/svn/branches/version1.0@2116 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin/Sources/Services/ogAdmRepo/Makefile')
-rw-r--r-- | admin/Sources/Services/ogAdmRepo/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/admin/Sources/Services/ogAdmRepo/Makefile b/admin/Sources/Services/ogAdmRepo/Makefile index 4e49d6c0..268daa18 100644 --- a/admin/Sources/Services/ogAdmRepo/Makefile +++ b/admin/Sources/Services/ogAdmRepo/Makefile @@ -12,7 +12,12 @@ CFLAGS := -O0 -g -Wall -I../../Includes # Depuracion CPPFLAGS := $(CFLAGS) # Opciones de linkado -LDFLAGS := -L/usr/lib -L/usr/lib/mysql -lpthread -lmysqlclient +LBIT := $(shell getconf LONG_BIT) +ifeq ($(LBIT), 64) + LDFLAGS := -L/usr/lib64 -L/usr/lib64/mysql -lpthread -lmysqlclient +else + LDFLAGS := -L/usr/lib -L/usr/lib/mysql -lpthread -lmysqlclient +endif # Ficheros objetos OBJS := ../../Includes/Database.o sources/ogAdmRepo.o |