File: rules

package info (click to toggle)
libopenhmd 0.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 832 kB
  • sloc: ansic: 10,881; makefile: 109; sh: 18
file content (20 lines) | stat: -rwxr-xr-x 435 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
#export DH_VERBOSE = 1

# libopenhmd.so uses sincosf and friends
DEB_LDFLAGS_MAINT_APPEND = -lm

# fix FTBFS on kfreebsd-*
ifneq (,$(findstring kfreebsd,$(DEB_HOST_ARCH)))
DEB_LDFLAGS_MAINT_APPEND += -lpthread
endif

export DEB_LDFLAGS_MAINT_APPEND

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure --