Issue #9329 has been updated by Yui NARUSE.

Backport changed from 1.9.3: UNKNOWN, 2.0.0: UNKNOWN, 2.1: REQUIRED to 1.9.3: UNKNOWN, 2.0.0: UNKNOWN, 2.1: DONE

r45082.

----------------------------------------
Bug #9329: ./configure --enable-shared --enable-relocatable && make fails
https://bugs.ruby-lang.org/issues/9329#change-45344

* Author: Hal Brodigan
* Status: Closed
* Priority: High
* Assignee: Nobuyoshi Nakada
* Category: build
* Target version: 
* ruby -v: trunk
* Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN, 2.1: DONE
----------------------------------------
Steps to Reproduce:

$ ./configure --enable-shared --enable-relocatable
$ make

Actual Result:

compiling ./enc/encdb.c
linking encoding encdb.so
/usr/bin/ld: cannot find -l-lpthread
collect2: error: ld returned 1 exit status




-- 
http://bugs.ruby-lang.org/