mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 13:20:08 +02:00
34 lines
1.3 KiB
Plaintext
34 lines
1.3 KiB
Plaintext
From 0293a01f710c55445042a570cc3fb9755e20ed71 Mon Sep 17 00:00:00 2001
|
|
From: Adrien Destugues <pulkomandy@pulkomandy.tk>
|
|
Date: Wed, 18 Jun 2014 16:03:04 +0000
|
|
Subject: Fix configuration for Haiku.
|
|
|
|
* Use something for linking dynamic libraries
|
|
* Set a soname on libruby.
|
|
|
|
diff --git a/configure.in b/configure.in
|
|
index 17ed3ed..8efd25d 100644
|
|
--- a/configure.in
|
|
+++ b/configure.in
|
|
@@ -2654,7 +2654,7 @@ if test "$with_dln_a_out" != yes; then
|
|
[bsdi3*], [ AS_CASE(["$CC"],
|
|
[*shlicc*], [ : ${LDSHARED='$(CC) -r'}
|
|
rb_cv_dlopen=yes])],
|
|
- [linux* | gnu* | k*bsd*-gnu | netbsd* | bsdi* | kopensolaris*-gnu], [
|
|
+ [linux* | gnu* | k*bsd*-gnu | netbsd* | bsdi* | kopensolaris*-gnu | haiku*], [
|
|
: ${LDSHARED='$(CC) -shared'}
|
|
if test "$rb_cv_binary_elf" = yes; then
|
|
LDFLAGS="$LDFLAGS -Wl,-export-dynamic"
|
|
@@ -3124,7 +3124,7 @@ AS_CASE("$enable_shared", [yes], [
|
|
[sunos4*], [
|
|
LIBRUBY_ALIASES='lib$(RUBY_SO_NAME).so.$(MAJOR).$(MINOR) lib$(RUBY_SO_NAME).so'
|
|
],
|
|
- [linux* | gnu* | k*bsd*-gnu | atheos* | kopensolaris*-gnu], [
|
|
+ [linux* | gnu* | k*bsd*-gnu | atheos* | kopensolaris*-gnu | haiku*], [
|
|
LIBRUBY_DLDFLAGS='-Wl,-soname,lib$(RUBY_SO_NAME).so.$(MAJOR).$(MINOR)'" $LDFLAGS_OPTDIR"
|
|
LIBRUBY_ALIASES='lib$(RUBY_SO_NAME).so.$(MAJOR).$(MINOR) lib$(RUBY_SO_NAME).so'
|
|
if test "$load_relative" = yes; then
|
|
--
|
|
1.8.3.4
|
|
|