File: perl-buildflags

package info (click to toggle)
hamlib 4.5.4-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 15,600 kB
  • sloc: ansic: 219,094; sh: 5,312; cpp: 1,552; perl: 876; makefile: 790; python: 146; awk: 58
file content (10 lines) | stat: -rw-r--r-- 294 bytes parent folder | download | duplicates (6)
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}",
 );