Ignore:
Timestamp:
Nov 23, 2013 7:13:40 AM (10 years ago)
Author:
bennylp
Message:

Fixed #1713: Enable building the libraries as shared libraries/DLLs for GNU targets

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/aconfigure.ac

    r4636 r4656  
    424424              ]) 
    425425 
     426AC_SUBST(ac_shared_libraries) 
     427AC_ARG_ENABLE(shared, 
     428              AC_HELP_STRING([--enable-shared], 
     429                             [Build shared libraries]), 
     430              [if test "$enable_shared" = "yes"; then 
     431                [ac_shared_libraries=1] 
     432                CFLAGS="$CFLAGS -fPIC" 
     433                AC_MSG_RESULT([Building shared libraries... yes]) 
     434               fi], 
     435              AC_MSG_RESULT([Building shared libraries... no]) 
     436              ) 
     437 
    426438 
    427439dnl ###################### 
     
    825837             ) 
    826838 
    827 dnl # Include libsamplerate 
    828839AC_SUBST(ac_resample_dll) 
    829840AC_ARG_ENABLE(resample_dll, 
Note: See TracChangeset for help on using the changeset viewer.