File: perl-buildflags

package info (click to toggle)
hamlib 4.6.5-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 17,984 kB
  • sloc: ansic: 262,996; sh: 6,135; cpp: 1,578; perl: 876; makefile: 855; python: 148; awk: 58; xml: 26
file content (10 lines) | stat: -rw-r--r-- 294 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
--- a/bindings/Makefile.PL
+++ b/bindings/Makefile.PL
@@ -14,4 +14,7 @@ WriteMakefile(
 	#'DEFINE'	=> '',
 	#'INC'		=> '',
 	#'OBJECT'	=> 'hamlibperl_wrap.o', # link all the C files too
+
+	CCCDLFLAGS	=> "-fPIC $ENV{CFLAGS} $ENV{CPPFLAGS}",
+	LDDLFLAGS	=> "-shared -pthread $ENV{LDFLAGS}",
 );