Permalink
Browse files

[Makefile.PL] Fix shared libs on linux by forcing -fPIC on monotonic_…

…clock's objects.

This either makes no difference or is ignored on OS X.
  • Loading branch information...
caldwell committed Mar 3, 2015
1 parent 01ea01d commit 894c32bbae2ccefd932485cbe4dc5db6c47d10e8
Showing with 1 addition and 1 deletion.
  1. +1 −1 Makefile.PL
View
@@ -51,7 +51,7 @@ WriteMakefile(
sub MY::postamble {
'
$(MYEXTLIB): monotonic_clock/configure Makefile.PL
cd monotonic_clock && CFLAGS="$(CCFLAGS)" ./configure && $(MAKE) all
cd monotonic_clock && CFLAGS="$(CCFLAGS) -fPIC" ./configure && $(MAKE) all
monotonic_clock/configure: monotonic_clock/configure.ac
cd monotonic_clock && ./bootstrap.sh

0 comments on commit 894c32b

Please sign in to comment.