1
0
mirror of https://github.com/opencryptoki/opencryptoki.git synced 2026-10-24 05:39:17 +03:00
Files
opencryptoki/usr/lib/Makefile.am
Klaus Heinrich Kiwi 53b3cb942b Autoconf target fixes
* GNU autoconf documentation says we should use $host instead of
  $target if we're not building a compiler. It turns out that
  RPM seems to have a different interpretation of that.
  Reverting to the previous behavior.

* Don't touch CFLAGS based on the $target_cpu when ./configure'ing, as it
  should already contain everything necessary from the configure script
  command line or environment.

Signed-off-by: Klaus Heinrich Kiwi <klausk@linux.vnet.ibm.com>
2010-07-20 13:38:49 -03:00

11 lines
358 B
Makefile

SUBDIRS = pkcs11
install-data-hook:
$(MKDIR_P) $(DESTDIR)/etc/ld.so.conf.d
echo "$(libdir)/opencryptoki" >\
$(DESTDIR)/etc/ld.so.conf.d/opencryptoki-$(target_cpu).conf
echo "$(libdir)/opencryptoki/stdll" >>\
$(DESTDIR)/etc/ld.so.conf.d/opencryptoki-$(target_cpu).conf
echo "**** Remember you must run ldconfig before using the above settings ****"