debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | # See debhelper(7) (uncomment to enable) |
| 3 | # output every command that modifies files on the build system. |
| 4 | #export DH_VERBOSE = 1 |
| 5 | |
| 6 | # libopenhmd.so uses sincosf and friends |
| 7 | DEB_LDFLAGS_MAINT_APPEND = -lm |
| 8 | |
| 9 | # fix FTBFS on kfreebsd-* |
| 10 | ifneq (,$(findstring kfreebsd,$(DEB_HOST_ARCH))) |
| 11 | DEB_LDFLAGS_MAINT_APPEND += -lpthread |
| 12 | endif |
| 13 | |
| 14 | export DEB_LDFLAGS_MAINT_APPEND |
| 15 | |
| 16 | %: |
| 17 | dh $@ |
| 18 | |
| 19 | override_dh_auto_configure: |
| 20 | dh_auto_configure -- --enable-static=no |