From c98e47a0c148103da65955acfb3782e37a8fc4c3 Mon Sep 17 00:00:00 2001
From: dos-reis <gdr@axiomatics.org>
Date: Wed, 26 Mar 2008 05:57:19 +0000
Subject: Fix shared linking regression

---
 src/lisp/Makefile.in  | 1 +
 src/lisp/core.lisp.in | 5 +++++
 2 files changed, 6 insertions(+)

(limited to 'src/lisp')

diff --git a/src/lisp/Makefile.in b/src/lisp/Makefile.in
index c9a76d8d..7d05550f 100644
--- a/src/lisp/Makefile.in
+++ b/src/lisp/Makefile.in
@@ -131,6 +131,7 @@ edit = sed \
 	-e 's|@host[@]|$(host)|g' \
 	-e 's|@build[@]|$(build)|g' \
 	-e 's|@target[@]|$(target)|g' \
+	-e 's|@SHREXT[@]|$(SHREXT)|g' \
 	-e 's|@void_type[@]|$(void_type)|g' \
 	-e 's|@char_type[@]|$(char_type)|g' \
 	-e 's|@int_type[@]|$(int_type)|g' \
diff --git a/src/lisp/core.lisp.in b/src/lisp/core.lisp.in
index 0571a908..52375325 100644
--- a/src/lisp/core.lisp.in
+++ b/src/lisp/core.lisp.in
@@ -71,6 +71,7 @@
 	   "$targetPlatform"
 
 	   "$faslType"
+	   "$NativeModuleExt"
 	   "$systemInstallationDirectory"
 	   "$NativeTypeTable"
 
@@ -133,6 +134,10 @@
 (defconstant |$faslType|
   (pathname-type (compile-file-pathname "foo.lisp")))
 
+;; Extension of file containers for native shared libraries.
+(defconstant |$NativeModuleExt|
+  "@SHREXT@")
+
 ;; 
 ;; -*- OpenAxiom source file extensions -*-
 ;; 
-- 
cgit v1.2.3