Skip to content

Instantly share code, notes, and snippets.

@iwata
Created June 13, 2014 04:01
Show Gist options
  • Save iwata/95f39103433581e8e686 to your computer and use it in GitHub Desktop.
Save iwata/95f39103433581e8e686 to your computer and use it in GitHub Desktop.
--- Makefile.PL.old 2014-06-13 12:56:22.000000000 +0900
+++ Makefile.PL 2014-06-13 12:57:45.000000000 +0900
@@ -9,11 +9,11 @@
($] >= 5.005 ? ## Add these new keywords supported since 5.005
(ABSTRACT_FROM => 'lib/Net/HandlerSocket.pm', # retrieve abstract from module
AUTHOR => 'higuchi dot akira at dena dot jp>') : ()),
- CC => 'g++ -fPIC',
- LD => 'g++ -fPIC',
+ CC => 'g++-4.2 -fPIC',
+ LD => 'g++-4.2 -fPIC',
LIBS => ['-lhsclient'], # e.g., '-lm'
DEFINE => '', # e.g., '-DHAVE_SOMETHING'
- INC => '-I. -I/usr/include/handlersocket',
+ INC => '-I. -I/usr/local/include/handlersocket',
OPTIMIZE => '-g -O3 -Wall -Wno-unused',
# Un-comment this if you add C files to link with later:
# OBJECT => '$(O_FILES)', # link all the C files too
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment