mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
31 lines
919 B
Plaintext
31 lines
919 B
Plaintext
From 735da12f70a7d3a880c9c5cc182e2345c5bec8f4 Mon Sep 17 00:00:00 2001
|
|
From: Jerome Duval <jerome.duval@gmail.com>
|
|
Date: Mon, 5 Dec 2016 16:56:34 +0000
|
|
Subject: add a case for haiku.
|
|
|
|
|
|
diff --git a/configure b/configure
|
|
index 6d518e5..8d3c338 100755
|
|
--- a/configure
|
|
+++ b/configure
|
|
@@ -12785,6 +12785,16 @@ echo "${ECHO_T}$CC_SHARED_OPTS" >&6
|
|
(beos*)
|
|
MK_SHARED_LIB='${CC} ${LDFLAGS} ${CFLAGS} -o $@ -Xlinker -soname=`basename $@` -nostart -e 0'
|
|
;;
|
|
+ (haiku*)
|
|
+ test "$cf_cv_shlib_version" = auto && cf_cv_shlib_version=rel
|
|
+ if test "$cf_cv_shlib_version" = rel; then
|
|
+ cf_cv_shared_soname='`basename $@ .${REL_VERSION}`.${ABI_VERSION}'
|
|
+ else
|
|
+ cf_cv_shared_soname='`basename $@`'
|
|
+ fi
|
|
+
|
|
+ MK_SHARED_LIB='${CC} ${CFLAGS} -o $@ -shared -Xlinker -soname='$cf_cv_shared_soname
|
|
+ ;;
|
|
(cygwin*)
|
|
CC_SHARED_OPTS=
|
|
MK_SHARED_LIB=$SHELL' '$rel_builddir'/mk_shared_lib.sh $@ ${CC} ${CFLAGS}'
|
|
--
|
|
2.45.2
|
|
|