build binutils-gdb with --disable-shared

Vladimir Mezentsev vladimir.mezentsev@oracle.com
Wed May 18 22:07:07 GMT 2022


% cat -n gprofng/libcollector/configure.ac | head -43 | tail -9
     35
     36    LT_INIT
     37    AC_ENABLE_SHARED
     38    AC_DISABLE_STATIC
     39
     40    if test "$enable_shared" != "yes"; then
     41      AC_MSG_ERROR([Cannot set --enable-shared for 
gprofng/libcollector.])
     42    fi
     43


When I configure my build with --disable-shared, I see that 
AC_ENABLE_SHARED does nothing.
Is it possible to set --enable-shared only for one sub-directory (in my 
case, gprofng/libcollector) ?


Thank you,
-Vladimir



More information about the Binutils mailing list