mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
29 lines
708 B
Plaintext
29 lines
708 B
Plaintext
From b31124071358fcbfd979ceeddf6d479564ab2987 Mon Sep 17 00:00:00 2001
|
|
From: begasus <begasus@gmail.com>
|
|
Date: Sat, 30 Nov 2019 11:31:57 +0100
|
|
Subject: Enable shared library
|
|
|
|
|
|
diff --git a/configure.ac b/configure.ac
|
|
index 455537a..70d2c38 100644
|
|
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -206,6 +206,14 @@ if test x$enable_shared != xno; then
|
|
LDFLAGS="$LDFLAGS -Wl,-R\$(libdir)"
|
|
;;
|
|
|
|
+ haiku*)
|
|
+ AC_MSG_RESULT(yes)
|
|
+ LIBMXML="libmxml.so.1.6"
|
|
+ DSO="\$(CC)"
|
|
+ DSOFLAGS="$DSOFLAGS -Wl,-soname,libmxml.so.1,-R\$(libdir) -shared \$(OPTIM)"
|
|
+ LDFLAGS="$LDFLAGS -Wl,-R\$(libdir)"
|
|
+ ;;
|
|
+
|
|
darwin)
|
|
AC_MSG_RESULT(yes)
|
|
LIBMXML="libmxml.1.dylib"
|
|
--
|
|
2.24.0
|
|
|