diff options
author | ramon <ramongomez@us.es> | 2011-12-22 13:38:11 +0000 |
---|---|---|
committer | ramon <ramongomez@us.es> | 2011-12-22 13:38:11 +0000 |
commit | c3c7cb3ae6f6600223111a572050f34f2df6fa71 (patch) | |
tree | 96fce1db6bf64fee2845d3a48abcbe07d9937562 /admin/Sources/Services/ogAdmRepo/Makefile | |
parent | 4caea352de0d0a19d4e0a2e2dd04980dd28e6be0 (diff) |
Congelar versiĆ³n 1.0.2 en tags/opengnsys-1.0.2 (modifica #446).opengnsys-1.0.2
git-svn-id: https://opengnsys.es/svn/tags/opengnsys-1.0.2@2405 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin/Sources/Services/ogAdmRepo/Makefile')
-rw-r--r-- | admin/Sources/Services/ogAdmRepo/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/admin/Sources/Services/ogAdmRepo/Makefile b/admin/Sources/Services/ogAdmRepo/Makefile index 903467f4..b7b9a592 100644 --- a/admin/Sources/Services/ogAdmRepo/Makefile +++ b/admin/Sources/Services/ogAdmRepo/Makefile @@ -8,11 +8,16 @@ INSTALL_DIR := /opt/opengnsys # Opciones de compilacion #CFLAGS := -O0 -g -Wall -I../../Includes # Depuracion -CFLAGS := -O3 -Wall -I../../Includes # Optimizacion +CFLAGS := -O3 -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 |