mirror of
https://github.com/openharmony/third_party_libxml2.git
synced 2026-08-24 23:31:27 -04:00
ececba5eb1
Signed-off-by: fangyunzhong <fangyunzhong2@huawei.com>
19 lines
360 B
Diff
Executable File
19 lines
360 B
Diff
Executable File
diff --git a/xml2-config.in b/xml2-config.in
|
|
index 5863ffa..47f205e 100644
|
|
--- a/xml2-config.in
|
|
+++ b/xml2-config.in
|
|
@@ -3,7 +3,12 @@
|
|
prefix=@prefix@
|
|
exec_prefix=@exec_prefix@
|
|
includedir=@includedir@
|
|
-libdir=@libdir@
|
|
+if [ "`ldd /bin/sh | grep lib64`" = "" ]
|
|
+then
|
|
+ libdir=${exec_prefix}/lib
|
|
+else
|
|
+ libdir=${exec_prefix}/lib64
|
|
+fi
|
|
cflags=
|
|
libs=
|
|
|