From c3c7cb3ae6f6600223111a572050f34f2df6fa71 Mon Sep 17 00:00:00 2001 From: ramon Date: Thu, 22 Dec 2011 13:38:11 +0000 Subject: Congelar versiĆ³n 1.0.2 en tags/opengnsys-1.0.2 (modifica #446). MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://opengnsys.es/svn/tags/opengnsys-1.0.2@2405 a21b9725-9963-47de-94b9-378ad31fedc9 --- admin/Sources/Services/ogAdmBoot/Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'admin/Sources/Services/ogAdmBoot/Makefile') diff --git a/admin/Sources/Services/ogAdmBoot/Makefile b/admin/Sources/Services/ogAdmBoot/Makefile index 79b30104..a8d9da0e 100644 --- a/admin/Sources/Services/ogAdmBoot/Makefile +++ b/admin/Sources/Services/ogAdmBoot/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/ogAdmBoot.o -- cgit v1.2.3-18-g5258