Commit cf95b4d0ef9288fd85a0bbbd6137ef63b86132fa

Authored by knodlseder
1 parent 6cc6a70f

add MACOSX_DEPLOYMENT_TARGET

Showing 1 changed file with 5 additions and 1 deletions
src/Makefile.am
... ... @@ -23,6 +23,10 @@ SUBDIRS = support \
23 23 # Define sources for this directory
24 24 sources =
25 25  
  26 +# Darwin support
  27 +MACOSX_DEPLOYMENT_TARGET=@CONFIGURE_MACOSX_DEPLOYMENT_TARGET@
  28 +export MACOSX_DEPLOYMENT_TARGET
  29 +
26 30 # Optional instrument specific libraries
27 31 if WITH_INST_MWL
28 32 INST_MWL = ../inst/mwl/libmwl.la
... ... @@ -37,7 +41,7 @@ endif
37 41 # Scripts to be distributed
38 42 scripts = gammalib-setup \
39 43 gammalib-init.sh \
40   - gammalib-init.csh
  44 + gammalib-init.csh
41 45  
42 46 # Build libtool library
43 47 lib_LTLIBRARIES = libgamma.la
... ...