Commit 54e994d1 authored by yoogx's avatar yoogx
Browse files

* Use "relocatable" instead of "dynamic" for shared libraries,

          to align with other GNAT Projects file. Required for
          compatibility with GNATColl.
parent 2b59565c
...@@ -147,10 +147,10 @@ AM_CONDITIONAL(DEBUG, test x$debug = xtrue) ...@@ -147,10 +147,10 @@ AM_CONDITIONAL(DEBUG, test x$debug = xtrue)
define(SHARED_LIBRARY_OPTIONS, [dnl define(SHARED_LIBRARY_OPTIONS, [dnl
GNAT_LIB_FLAGS="-XLIBRARY=dynamic" GNAT_LIB_FLAGS="-XLIBRARY_TYPE=relocatable"
shared=true]) shared=true])
define(NO_SHARED_LIBRARY_OPTIONS, [dnl define(NO_SHARED_LIBRARY_OPTIONS, [dnl
GNAT_LIB_FLAGS="-XLIBRARY=static" GNAT_LIB_FLAGS="-XLIBRARY_TYPE=static"
shared=false]) shared=false])
AC_ARG_ENABLE(shared, AC_ARG_ENABLE(shared,
......
...@@ -43,8 +43,8 @@ project Ocarina is ...@@ -43,8 +43,8 @@ project Ocarina is
type Build_Type is ("release", "debug"); type Build_Type is ("release", "debug");
Build : Build_Type := External ("BUILD", "debug"); Build : Build_Type := External ("BUILD", "debug");
type Lib_Kinds is ("dynamic", "static"); type Lib_Kinds is ("relocatable", "static");
Lib_Type : Lib_Kinds := External ("LIBRARY", "static"); Lib_Type : Lib_Kinds := External ("LIBRARY_TYPE", "static");
package Compiler is package Compiler is
for Local_Configuration_Pragmas use Top_Src_Dir for Local_Configuration_Pragmas use Top_Src_Dir
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment