git://scientific.zcu.cz
/
jra1mw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bcbd67d
)
mysql archlib
author
Aleš Křenek
<ljocha@ics.muni.cz>
Tue, 17 Jul 2007 15:25:40 +0000
(15:25 +0000)
committer
Aleš Křenek
<ljocha@ics.muni.cz>
Tue, 17 Jul 2007 15:25:40 +0000
(15:25 +0000)
org.glite.lb.utils/Makefile
patch
|
blob
|
blame
|
history
diff --git
a/org.glite.lb.utils/Makefile
b/org.glite.lb.utils/Makefile
index
df16b5c
..
b24f429
100644
(file)
--- a/
org.glite.lb.utils/Makefile
+++ b/
org.glite.lb.utils/Makefile
@@
-45,11
+45,17
@@
INSTALL:=libtool --mode=install install
LINKXX:=libtool --mode=link ${CXX} -rpath ${stagedir}/lib ${LDFLAGS}
XSLTPROC:=xsltproc --novalid
+archlib:=lib
+host_cpu:=${shell uname -m}
+ifeq (${host_cpu},x86_64)
+ archlib:=lib64
+endif
+
ifneq (${mysql_prefix},/usr)
ifeq ($(shell echo ${mysql_version} | cut -d. -f1,2),4.1)
- mysqlib := -L${mysql_prefix}/
lib
/mysql
+ mysqlib := -L${mysql_prefix}/
${archlib}
/mysql
else
- mysqlib := -L${mysql_prefix}/
lib
+ mysqlib := -L${mysql_prefix}/
${archlib}
endif
endif