Changeset 59 in JEM-EUSO for esaf_lal


Ignore:
Timestamp:
Apr 15, 2013, 4:10:36 PM (11 years ago)
Author:
barrand
Message:

G.Barrand : Darwin : UNAME, SO_OPTS to build shared libs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • esaf_lal/trunk/esaf/packages/config.gmk

    r16 r59  
    1212
    1313include $(ESAFINSTALL)/Rules
     14
     15# G.Barrand : kind of OS :
     16UNAME=$(shell uname)
    1417
    1518# architecture
     
    114117
    115118#library prefix
    116 LIBPREFIX :=
     119# G.Barrand : Darwin : the file system is case insensitive, and then
     120#                      there is a clash with ROOT about libGui and libgui.
     121ifeq ($(UNAME),Darwin)
     122LIBPREFIX := esaf_
     123else
     124LIBPREFIX :=
     125endif
    117126
    118127# The goal
     
    143152endif   # CONFIG_DONE
    144153
    145 
     154# G.Barrand :
     155ifeq ($(UNAME),Darwin)
     156  SO_OPTS := -dynamiclib -twolevel_namespace -undefined dynamic_lookup -dynamic -single_module
     157else
     158  SO_OPTS := -shared
     159endif
Note: See TracChangeset for help on using the changeset viewer.